Skip to content

Commit 3a7fd63

Browse files
authored
Update docs for Guzzle 7 [skip ci]
1 parent 1e5a5ce commit 3a7fd63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.MD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ A PHP package for mapping remote [JSON:API](http://jsonapi.org/) resources to El
1919
composer require swisnl/json-api-client
2020
```
2121

22-
N.B. Make sure you have installed a PSR-18 HTTP Client before you install this package or install one at the same time e.g. `composer require swisnl/json-api-client php-http/guzzle6-adapter`.
22+
N.B. Make sure you have installed a PSR-18 HTTP Client before you install this package or install one at the same time e.g. `composer require swisnl/json-api-client guzzlehttp/guzzle:^7.0`.
2323

2424
### HTTP Client
2525

2626
We are decoupled from any HTTP messaging client with the help of [PSR-18 HTTP Client](https://www.php-fig.org/psr/psr-18/).
2727
This requires an extra package providing [psr/http-client-implementation](https://packagist.org/providers/psr/http-client-implementation).
28-
To use Guzzle 6, for example, simply require `php-http/guzzle6-adapter`:
28+
To use Guzzle 7, for example, simply require `guzzlehttp/guzzle`:
2929

3030
``` bash
31-
composer require php-http/guzzle6-adapter
31+
composer require guzzlehttp/guzzle
3232
```
3333

3434
See [Bind clients](#bind-clients) if you want to use your own HTTP client or use specific configuration options.

0 commit comments

Comments
 (0)