Skip to content

Commit 167e316

Browse files
authored
Change links in README.md from PHP-HTTP to PSR-18 (#1162)
Update README.md
1 parent ae5d778 commit 167e316

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ providing a powerful abstraction layer for geocoding manipulations.
3030
To install a Geocoder there are two things you need to know:
3131

3232
1) What [Geocoder provider](https://packagist.org/providers/geocoder-php/provider-implementation) you want to use
33-
2) What [HTTP client/adapter](https://packagist.org/providers/php-http/client-implementation) you want to use.
33+
2) What [HTTP client/adapter](https://packagist.org/providers/psr/http-client-implementation) you want to use.
3434

3535
### Geocoder providers
3636

@@ -40,13 +40,11 @@ providers [at Packagist](https://packagist.org/providers/geocoder-php/provider-i
4040
### HTTP Clients
4141

4242
In order to talk to geocoding APIs, you need HTTP adapters. While it was part of
43-
the library in Geocoder before, Geocoder 4.x and upper now relies on HTTPlug
43+
the library in Geocoder before, Geocoder 4.x and upper now relies on [PSR-18](https://www.php-fig.org/psr/psr-18/)
4444
which defines how HTTP message should be sent and received. You can use any library to send HTTP messages
45-
that implements [php-http/client-implementation](https://packagist.org/providers/php-http/client-implementation).
45+
that implements [psr/http-client-implementation](https://packagist.org/providers/psr/http-client-implementation).
4646

47-
Here is a list of all officially supported clients and adapters by HTTPlug: <http://docs.php-http.org/en/latest/clients.html>
48-
49-
Read more about HTTPlug in [their docs](http://docs.php-http.org/en/latest/httplug/users.html).
47+
Read more about PSR-18 in [this blog](https://www.php-fig.org/blog/2018/11/psr-18-the-php-standard-for-http-clients/).
5048

5149
### Summary (Just give me the command)
5250

0 commit comments

Comments
 (0)