@@ -1486,23 +1486,23 @@ $promise = $connector->connect('localhost:80');
1486
1486
1487
1487
## Install
1488
1488
1489
- The recommended way to install this library is [ through Composer] ( https://getcomposer.org ) .
1489
+ The recommended way to install this library is [ through Composer] ( https://getcomposer.org/ ) .
1490
1490
[ New to Composer?] ( https://getcomposer.org/doc/00-intro.md )
1491
1491
1492
1492
This project follows [ SemVer] ( https://semver.org/ ) .
1493
1493
This will install the latest supported version:
1494
1494
1495
1495
``` bash
1496
- $ composer require react/socket:^1.9
1496
+ $ composer require react/socket:^1.10
1497
1497
```
1498
1498
1499
1499
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
1500
1500
1501
1501
This project aims to run on any platform and thus does not require any PHP
1502
1502
extensions and supports running on legacy PHP 5.3 through current PHP 8+ and HHVM.
1503
- It's * highly recommended to use PHP 7+ * for this project, partly due to its vast
1504
- performance improvements and partly because legacy PHP versions require several
1505
- workarounds as described below.
1503
+ It's * highly recommended to use the latest supported PHP version * for this project,
1504
+ partly due to its vast performance improvements and partly because legacy PHP
1505
+ versions require several workarounds as described below.
1506
1506
1507
1507
Secure TLS connections received some major upgrades starting with PHP 5.6, with
1508
1508
the defaults now being more secure, while older versions required explicit
@@ -1538,7 +1538,7 @@ on affected versions.
1538
1538
## Tests
1539
1539
1540
1540
To run the test suite, you first need to clone this repo and then install all
1541
- dependencies [ through Composer] ( https://getcomposer.org ) :
1541
+ dependencies [ through Composer] ( https://getcomposer.org/ ) :
1542
1542
1543
1543
``` bash
1544
1544
$ composer install
@@ -1547,15 +1547,15 @@ $ composer install
1547
1547
To run the test suite, go to the project root and run:
1548
1548
1549
1549
``` bash
1550
- $ php vendor/bin/phpunit
1550
+ $ vendor/bin/phpunit
1551
1551
```
1552
1552
1553
1553
The test suite also contains a number of functional integration tests that rely
1554
1554
on a stable internet connection.
1555
1555
If you do not want to run these, they can simply be skipped like this:
1556
1556
1557
1557
``` bash
1558
- $ php vendor/bin/phpunit --exclude-group internet
1558
+ $ vendor/bin/phpunit --exclude-group internet
1559
1559
```
1560
1560
1561
1561
## License
0 commit comments