Skip to content

Commit 7f0ccc2

Browse files
committed
Support legacy PHP 5.3 through PHP 7.3+
1 parent 380d175 commit 7f0ccc2

2 files changed

Lines changed: 31 additions & 10 deletions

File tree

.travis.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
11
language: php
2+
23
php:
3-
- 5.3
4+
# - 5.3 # requires old distro, see below
5+
- 5.4
6+
- 5.5
47
- 5.6
5-
- hhvm
8+
- 7.0
9+
- 7.1
10+
- 7.2
11+
- 7.3
12+
13+
# lock distro so future defaults will not break the build
14+
dist: trusty
15+
16+
matrix:
17+
include:
18+
- php: 5.3
19+
dist: precise
20+
21+
sudo: false
622

723
install:
824
- composer install --no-interaction

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,21 @@ See also the [examples](examples):
3636

3737
## Install
3838

39-
The recommended way to install this library is [through composer](http://getcomposer.org). [New to composer?](http://getcomposer.org/doc/00-intro.md)
40-
41-
```JSON
42-
{
43-
"require": {
44-
"clue/shell-react": "~0.2.0"
45-
}
46-
}
39+
The recommended way to install this library is [through Composer](https://getcomposer.org).
40+
[New to Composer?](https://getcomposer.org/doc/00-intro.md)
41+
42+
This will install the latest supported version:
43+
44+
```bash
45+
$ composer require clue/shell-react:^0.2
4746
```
4847

48+
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
49+
50+
This project aims to run on any platform and thus does not require any PHP
51+
extensions and supports running on legacy PHP 5.3 through current PHP 7+.
52+
It's *highly recommended to use PHP 7+* for this project.
53+
4954
## Tests
5055

5156
To run the test suite, you first need to clone this repo and then install all

0 commit comments

Comments
 (0)