Skip to content

Commit 11a9e50

Browse files
committed
Minor README fixes, and a further bump in PHP minimum requirement. Also fixed travis run.
1 parent 2ecd309 commit 11a9e50

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ sudo: false
1111

1212
matrix:
1313
allow_failures:
14+
- php: hhvm
1415
- php: 7.0
1516

1617
before_script:

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ Right now it only supports Analyze, Product, Image, Discussion, Crawl, Search, a
1212

1313
Minimum PHP 5.6 is required.
1414

15+
This package uses some non-stable packages, so you must set your project's minimum stability to something like beta or dev in `composer.json`:
16+
17+
```
18+
"minimum-stability": "dev",
19+
"prefer-stable": true
20+
```
21+
22+
If you don't the installation procedure below will fail.
23+
1524
## Install
1625

1726
The library depends on an implementation of the [client-implementation](https://packagist.org/providers/php-http/client-implementation) virtual package. If you don't know what this means, simply requiring the Guzzle6 adapter will do:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^5.5|7.*",
21+
"php": "^5.6|7.*",
2222
"php-http/client-implementation": "^1.0",
2323
"php-http/client-common": "^1",
2424
"php-http/discovery": "^0.8",

0 commit comments

Comments
 (0)