diff options
author | styks1987 <mike@saymikeo.com> | 2016-07-05 17:07:50 -0400 |
---|---|---|
committer | Avi Goldman <avrahamymgoldman@gmail.com> | 2016-07-05 17:07:50 -0400 |
commit | 8734493dbd611f8a6f2d8d4c6b604ea54f89cd1d (patch) | |
tree | ce0fd4ceb0b249add60f38c6a1e5f9e72cf9d05a | |
parent | f0ef950117a7e8162f0b2875cb3b071be389d8d4 (diff) | |
download | php-sparkpost-8734493dbd611f8a6f2d8d4c6b604ea54f89cd1d.zip php-sparkpost-8734493dbd611f8a6f2d8d4c6b604ea54f89cd1d.tar.gz php-sparkpost-8734493dbd611f8a6f2d8d4c6b604ea54f89cd1d.tar.bz2 |
outline the requirement for php-http via composer (#130)
* outline the requirement for http-php via composer
* update reference to setting up request adapter
-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). |