Skip to content

micheldiemer/php-composer-proc-stream

Repository files navigation

Utilisty classes exec function with logging/stream

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.

About

Exec function with stream/logging features

Resources

License

Stars

Watchers

Forks

Packages

No packages published