micheldiemer/proc-stream

Process Execution and Stream Management. In particular StdOut and StdErr.

1.0.0-beta21 2025-04-11 23:53 UTC

This package is auto-updated.

Last update: 2025-07-12 00:22:54 UTC


README

Installation

composer require micheldiemer/proc-stream

Usage

  • Create a ProcStremEvent object
  • 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.