Skip to content

Commit 132453a

Browse files
author
Dan Richelson
committed
Make guzzle optional. Update README.
1 parent 1f34437 commit 132453a

File tree

3 files changed

+10
-309
lines changed

3 files changed

+10
-309
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Quick setup
1111
0. Install the PHP SDK with [Composer](https://getcomposer.org/)
1212

1313
php composer.phar require launchdarkly/launchdarkly-php
14-
php composer.phar require "guzzlehttp/guzzle:5.*"
15-
php composer.phar require "guzzlehttp/cache-subscriber:0.1.*"
14+
php composer.phar require "guzzlehttp/guzzle:6.2.1"
15+
php composer.phar require "kevinrob/guzzle-cache-middleware": "1.4.1"
1616

1717
1. After installing, require Composer's autoloader:
1818

@@ -49,8 +49,8 @@ Using Guzzle
4949

5050
To use Guzzle it must be required as a dependency:
5151

52-
php composer.phar require "guzzlehttp/guzzle:5.*"
53-
php composer.phar require "guzzlehttp/cache-subscriber:0.1.*"
52+
php composer.phar require "guzzlehttp/guzzle:6.2.1"
53+
php composer.phar require "kevinrob/guzzle-cache-middleware": "1.4.1"
5454

5555
It will then be used as the default way of fetching flags.
5656

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
}
1515
],
1616
"require": {
17-
"php": ">=5.5",
18-
"guzzlehttp/guzzle": "6.2.1",
19-
"kevinrob/guzzle-cache-middleware": "1.4.1"
17+
"php": ">=5.5"
2018
},
2119
"require-dev": {
2220
"phpunit/phpunit": "4.8.26",
@@ -25,6 +23,8 @@
2523
"zendframework/zend-serializer": "2.7.*"
2624
},
2725
"suggested": {
26+
"guzzlehttp/guzzle": "6.2.1",
27+
"kevinrob/guzzle-cache-middleware": "1.4.1",
2828
"predis/predis": "1.0.*"
2929
},
3030
"autoload": {

composer.lock

Lines changed: 3 additions & 302 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)