From 14a0d6097625e6804e829e94052cdc8d525cdf4b Mon Sep 17 00:00:00 2001 From: Woody Gilk Date: Tue, 20 Jul 2021 07:54:14 -0500 Subject: [PATCH] Add suggestion for official Guzzle factory --- README.md | 4 ++++ composer.json | 3 +++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 6df50bc..3e9197e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # HTTP Factory for Guzzle HTTP factory implemented for [Guzzle](https://github.com/guzzle/psr7). + +**NOTE:** `guzzlehttp/psr7` includes an HTTP factory implementation starting with +version 2.0. Please use the official factory if your project can use +`"guzzlehttp/psr7": "^2.0"`. diff --git a/composer.json b/composer.json index 1354735..1c20015 100644 --- a/composer.json +++ b/composer.json @@ -29,5 +29,8 @@ "psr-4": { "Http\\Factory\\Guzzle\\": "src/" } + }, + "suggest": { + "guzzlehttp/psr7": "Includes an HTTP factory starting in version 2.0" } }