You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.MD
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -21,16 +21,16 @@ A PHP package for mapping remote [JSON:API](http://jsonapi.org/) resources to El
21
21
composer require swisnl/json-api-client
22
22
```
23
23
24
-
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`.
24
+
N.B. Make sure you have installed a PSR-18 HTTP Client and PSR-17 HTTP Factories before you install this package or install one at the same time e.g. `composer require swisnl/json-api-client guzzlehttp/guzzle:^7.3`.
25
25
26
26
### HTTP Client
27
27
28
-
We are decoupled from any HTTP messaging client with the help of [PSR-18 HTTP Client](https://www.php-fig.org/psr/psr-18/).
29
-
This requires an extra package providing [psr/http-client-implementation](https://packagist.org/providers/psr/http-client-implementation).
28
+
We are decoupled from any HTTP messaging client with the help of [PSR-18 HTTP Client](https://www.php-fig.org/psr/psr-18/) and [PSR-17 HTTP Factories](https://www.php-fig.org/psr/psr-17/).
29
+
This requires an extra package providing [psr/http-client-implementation](https://packagist.org/providers/psr/http-client-implementation) and [psr/http-factory-implementation](https://packagist.org/providers/psr/http-factory-implementation).
30
30
To use Guzzle 7, for example, simply require `guzzlehttp/guzzle`:
31
31
32
32
```bash
33
-
composer require guzzlehttp/guzzle:^7.0
33
+
composer require guzzlehttp/guzzle:^7.3
34
34
```
35
35
36
36
See [HTTP Clients](#http-clients) if you want to use your own HTTP client or use specific configuration options.
0 commit comments