sp4ceb4r / shell-command
Shell command module for PHP.
0.2.3
2019-06-11 14:06 UTC
Requires
- php: >=5.5.9
- ext-pcntl: *
Requires (Dev)
- phpunit/phpunit: ^5.1
README
shell-command
A simple wrapper of the php proc_open command.
Simplifies running and interacting with shell commands within a php script.
Getting Started
$process = Process::make(Command::make('sleep')->withArgs(5)) ->runAsync(); $process->wait(2);
Installing
composer require sp4ceb4r/shell-command
Running the tests
phpunit tests