Skip to content

Commit 19b0bf9

Browse files
committed
Add note about PSR-17 HTTP Factories to readme [skip ci]
1 parent e137bad commit 19b0bf9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.MD

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ This package contains some Laravel specific classes to make it easier to use [sw
1616
composer require swisnl/json-api-client-laravel
1717
```
1818

19-
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-laravel guzzlehttp/guzzle:^7.0`.
19+
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`.
2020

2121
### HTTP Client
2222

23-
We are decoupled from any HTTP messaging client with the help of [PSR-18 HTTP Client](https://www.php-fig.org/psr/psr-18/).
24-
This requires an extra package providing [psr/http-client-implementation](https://packagist.org/providers/psr/http-client-implementation).
23+
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/).
24+
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).
2525
To use Guzzle 7, for example, simply require `guzzlehttp/guzzle`:
2626

2727
``` bash
28-
composer require guzzlehttp/guzzle:^7.0
28+
composer require guzzlehttp/guzzle:^7.3
2929
```
3030

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

0 commit comments

Comments
 (0)