Skip to content

Change links in README.md from PHP-HTTP to PSR-18 #1162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ providing a powerful abstraction layer for geocoding manipulations.
To install a Geocoder there are two things you need to know:

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

### Geocoder providers

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

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

Here is a list of all officially supported clients and adapters by HTTPlug: <http://docs.php-http.org/en/latest/clients.html>

Read more about HTTPlug in [their docs](http://docs.php-http.org/en/latest/httplug/users.html).
Read more about PSR-18 in [this blog](https://www.php-fig.org/blog/2018/11/psr-18-the-php-standard-for-http-clients/).

### Summary (Just give me the command)

Expand Down