Skip to content

Commit 8cb6b10

Browse files
committed
update README (no more adapters)
1 parent 16797a4 commit 8cb6b10

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

README.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
Geocoder
22
========
33

4-
**Geocoder** is a library which helps you build geo-aware applications. It provides an abstraction layer for geocoding manipulations.
5-
The library is split in two parts: `HttpAdapter` and `Provider` and is really extensible.
6-
74
[![Build Status](https://secure.travis-ci.org/geocoder-php/Geocoder.png)](http://travis-ci.org/geocoder-php/Geocoder)
5+
[![Total Downloads](https://poser.pugx.org/willdurand/Geocoder/downloads.png)](https://packagist.org/packages/willdurand/Geocoder)
6+
[![Latest Stable Version](https://poser.pugx.org/willdurand/Geocoder/v/stable.png)](https://packagist.org/packages/willdurand/Geocoder)
87

8+
**Geocoder** is a library which helps you build geo-aware applications. It
9+
provides an abstraction layer for geocoding manipulations.
910

10-
### HttpAdapters ###
11-
12-
_HttpAdapters_ are responsible to get data from remote APIs.
13-
14-
Currently, there are the following adapters:
11+
### HTTP Adapters ###
1512

16-
* `BuzzHttpAdapter` to use [Buzz](https://github.com/kriswallsmith/Buzz), a lightweight PHP 5.3 library for issuing HTTP requests;
17-
* `CurlHttpAdapter` to use [cURL](http://php.net/manual/book.curl.php);
18-
* `GuzzleHttpAdapter` to use [Guzzle](https://github.com/guzzle/guzzle), PHP 5.3+ HTTP client and framework for building RESTful web service clients;
19-
* `SocketHttpAdapter` to use a [socket](http://www.php.net/manual/function.fsockopen.php);
20-
* `ZendHttpAdapter` to use [Zend Http Client](http://framework.zend.com/manual/2.0/en/modules/zend.http.client.html);
21-
* `GeoIP2Adapter` to use [GeoIP2 Database Reader](https://github.com/maxmind/GeoIP2-php#database-reader) or the [Webservice Client](https://github.com/maxmind/GeoIP2-php#web-service-client) by MaxMind.
13+
In order to talk to geocoding APIs, you need HTTP adapters. While it was part of
14+
the library in Geocoder 1.x and 2.x, Geocoder 3.x and upper now relies on the
15+
[PSR-7
16+
Standard](https://github.com/php-fig/fig-standards/blob/master/proposed/http-message.md)
17+
which defines how HTTP message should be implemented. Choose any library that
18+
follows this PSR and implement the specified interfaces to use with Geocoder.
2219

20+
As making choices is rather hard, Geocoder requires the
21+
[egeloen/http-adapter](https://github.com/egeloen/ivory-http-adapter) library.
2322

2423
### Providers ###
2524

0 commit comments

Comments
 (0)