Download the PHP package clue/shell-react without Composer
On this page you can find all versions of the php package clue/shell-react. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download clue/shell-react
More information about clue/shell-react
Files in clue/shell-react
Package shell-react
Short Description Run async commands within any interactive shell command
License MIT
Homepage https://github.com/clue/php-shell-react
Informations about the package shell-react
clue/reactphp-shell
Run async commands within any interactive shell command, built on top of ReactPHP.
Note: This project is in beta stage! Feel free to report any issues you encounter.
Quickstart example
Once installed, you can use the following code to run an interactive bash shell and issue some commands within:
See also the examples:
- Run shell commands within a bash shell
- Run PHP code within an interactive PHP shell
- Run shell commands within a docker container
Install
The recommended way to install this library is through Composer. New to Composer?
This will install the latest supported version:
See also the CHANGELOG for details about version upgrades.
This project aims to run on any platform and thus does not require any PHP extensions and supports running on legacy PHP 5.3 through current PHP 8+. It's highly recommended to use the latest supported PHP version for this project.
Tests
To run the test suite, you first need to clone this repo and then install all dependencies through Composer:
To run the test suite, go to the project root and run:
License
MIT
All versions of shell-react with dependencies
react/promise Version ~1.0|~2.0
react/child-process Version ~0.3.0|~0.4.0
react/stream Version ~0.3.0|~0.4.0
react/event-loop Version ~0.3.0|~0.4.0