diff options
-rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -21,6 +21,13 @@ The recommended way to install the SparkPost PHP Library is through composer. curl -sS https://getcomposer.org/installer | php ``` +Sparkpost requires php-http client (see [Setting up a Request Adapter](#setting-up-a-request-adapter)). There are several [providers](https://packagist.org/providers/php-http/client-implementation) available. If you were using guzzle6 your install might look like this. + +``` +composer require guzzlehttp/guzzle +composer require php-http/guzzle6-adapter +``` + Next, run the Composer command to install the SparkPost PHP Library: ``` @@ -291,4 +298,4 @@ An exception will be thrown in two cases: there is a problem with the request or ### Contributing -See [contributing](https://github.com/SparkPost/php-sparkpost/blob/master/CONTRIBUTING.md).
\ No newline at end of file +See [contributing](https://github.com/SparkPost/php-sparkpost/blob/master/CONTRIBUTING.md). |