sp4ceb4r / shell-command
Shell command module for PHP.
Installs: 12 821
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 4
Open Issues: 2
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