File tree Expand file tree Collapse file tree 6 files changed +219
-245
lines changed Expand file tree Collapse file tree 6 files changed +219
-245
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ Quick setup
11
11
0 . Install the PHP SDK with [ Composer] ( https://getcomposer.org/ )
12
12
13
13
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 "
16
16
17
17
1 . After installing, require Composer's autoloader:
18
18
@@ -49,8 +49,8 @@ Using Guzzle
49
49
50
50
To use Guzzle it must be required as a dependency:
51
51
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 "
54
54
55
55
It will then be used as the default way of fetching flags.
56
56
Original file line number Diff line number Diff line change 1
- 0.7 .0
1
+ 1.0 .0
Original file line number Diff line number Diff line change 17
17
"php" : " >=5.5"
18
18
},
19
19
"require-dev" : {
20
+ "guzzlehttp/guzzle" : " 6.2.1" ,
21
+ "kevinrob/guzzle-cache-middleware" : " 1.4.1" ,
20
22
"phpunit/phpunit" : " 4.8.26" ,
21
23
"phpdocumentor/phpdocumentor" : " 2.*" ,
22
24
"predis/predis" : " 1.0.*" ,
23
- "guzzlehttp/guzzle" : " 5.*" ,
24
- "guzzlehttp/cache-subscriber" : " 0.1.*" ,
25
25
"zendframework/zend-serializer" : " 2.7.*"
26
26
},
27
27
"suggested" : {
28
- "predis/predis " : " 1.0.* " ,
29
- "guzzlehttp /guzzle" : " 5.* " ,
30
- "guzzlehttp/cache-subscriber " : " 0.1 .*"
28
+ "guzzlehttp/guzzle " : " 6.2.1 " ,
29
+ "kevinrob /guzzle-cache-middleware " : " 1.4.1 " ,
30
+ "predis/predis " : " 1.0 .*"
31
31
},
32
32
"autoload" : {
33
33
"psr-4" : {
You can’t perform that action at this time.
0 commit comments