@@ -35,7 +35,11 @@ It wraps a given `ReadableStreamInterface` and exposes its data through the same
35
35
interface.
36
36
37
37
``` php
38
- $stdin = new ReadableResourceStream(STDIN, $loop);
38
+ <?php
39
+
40
+ require __DIR__ . '/vendor/autoload.php';
41
+
42
+ $stdin = new ReadableResourceStream(STDIN);
39
43
40
44
$stream = new Sequencer($stdin);
41
45
@@ -67,7 +71,7 @@ This binary data will be left as-is, unless you filter this at a later stage.
67
71
68
72
## Install
69
73
70
- The recommended way to install this library is [ through Composer] ( https://getcomposer.org ) .
74
+ The recommended way to install this library is [ through Composer] ( https://getcomposer.org/ ) .
71
75
[ New to Composer?] ( https://getcomposer.org/doc/00-intro.md )
72
76
73
77
This project follows [ SemVer] ( https://semver.org/ ) .
@@ -82,12 +86,12 @@ See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
82
86
This project aims to run on any platform and thus does not require any PHP
83
87
extensions and supports running on legacy PHP 5.3 through current PHP 8+ and
84
88
HHVM.
85
- It's * highly recommended to use PHP 7+ * for this project.
89
+ It's * highly recommended to use the latest supported PHP version * for this project.
86
90
87
91
## Tests
88
92
89
93
To run the test suite, you first need to clone this repo and then install all
90
- dependencies [ through Composer] ( https://getcomposer.org ) :
94
+ dependencies [ through Composer] ( https://getcomposer.org/ ) :
91
95
92
96
``` bash
93
97
$ composer install
@@ -96,7 +100,7 @@ $ composer install
96
100
To run the test suite, go to the project root and run:
97
101
98
102
``` bash
99
- $ php vendor/bin/phpunit
103
+ $ vendor/bin/phpunit
100
104
```
101
105
102
106
## License
0 commit comments