micheldiemer / proc-stream
Process Execution and Stream Management. In particular StdOut and StdErr.
1.0.0-beta21
2025-04-11 23:53 UTC
Requires
- php: >=8.1
- micheldiemer/mbstring: ^1
- psr/log: ^3.0
This package is auto-updated.
Last update: 2026-03-12 01:37:25 UTC
README
Installation
composer require micheldiemer/proc-stream
Usage
- Create a
ProcStremEventobject - Use
exec(string $cmd, ProcStreamEvent $e, string $cwd = '.') - See test/ProcStreamDemo.php for a fully working example
Contributions
phpdoc, phplint, phpstan and php-cs-fixer are required globally.
Contributions are welcome either as a GitHub issue or a PR to this repo.