composer require micheldiemer/proc-stream
- Create a
ProcStremEvent
object - Use
exec(string $cmd, ProcStreamEvent $e, string $cwd = '.')
- See test/ProcStreamDemo.php for a fully working example
phpdoc
, phplint
, phpstan
and php-cs-fixer
are required globally.
Contributions are welcome either as a GitHub issue or a PR to this repo.