|
1 | 1 | # clue/reactphp-shell
|
2 | 2 |
|
3 |
| -[](https://github.com/clue/reactphp-shell/actions) |
| 3 | +[](https://github.com/clue/reactphp-shell/actions) |
4 | 4 | [](https://packagist.org/packages/clue/shell-react)
|
5 | 5 |
|
6 | 6 | Run async commands within any interactive shell command, built on top of [ReactPHP](https://reactphp.org/).
|
@@ -28,42 +28,42 @@ $shell->execute('env | sort | head -n10')->then(function ($env) {
|
28 | 28 | $shell->end();
|
29 | 29 | ```
|
30 | 30 |
|
31 |
| -See also the [examples](examples): |
| 31 | +See also the [examples](examples/): |
32 | 32 |
|
33 | 33 | * [Run shell commands within a bash shell](examples/bash.php)
|
34 | 34 | * [Run PHP code within an interactive PHP shell](examples/php.php)
|
35 | 35 | * [Run shell commands within a docker container](examples/docker.php)
|
36 | 36 |
|
37 | 37 | ## Install
|
38 | 38 |
|
39 |
| -The recommended way to install this library is [through Composer](https://getcomposer.org). |
| 39 | +The recommended way to install this library is [through Composer](https://getcomposer.org/). |
40 | 40 | [New to Composer?](https://getcomposer.org/doc/00-intro.md)
|
41 | 41 |
|
42 | 42 | This will install the latest supported version:
|
43 | 43 |
|
44 | 44 | ```bash
|
45 |
| -$ composer require clue/shell-react:^0.2 |
| 45 | +composer require clue/shell-react:^0.2 |
46 | 46 | ```
|
47 | 47 |
|
48 | 48 | See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
|
49 | 49 |
|
50 | 50 | This project aims to run on any platform and thus does not require any PHP
|
51 | 51 | extensions and supports running on legacy PHP 5.3 through current PHP 8+.
|
52 |
| -It's *highly recommended to use PHP 7+* for this project. |
| 52 | +It's *highly recommended to use the latest supported PHP version* for this project. |
53 | 53 |
|
54 | 54 | ## Tests
|
55 | 55 |
|
56 | 56 | To run the test suite, you first need to clone this repo and then install all
|
57 |
| -dependencies [through Composer](https://getcomposer.org): |
| 57 | +dependencies [through Composer](https://getcomposer.org/): |
58 | 58 |
|
59 | 59 | ```bash
|
60 |
| -$ composer install |
| 60 | +composer install |
61 | 61 | ```
|
62 | 62 |
|
63 | 63 | To run the test suite, go to the project root and run:
|
64 | 64 |
|
65 | 65 | ```bash
|
66 |
| -$ php vendor/bin/phpunit |
| 66 | +vendor/bin/phpunit |
67 | 67 | ```
|
68 | 68 |
|
69 | 69 | ## License
|
|
0 commit comments