Download the PHP package totten/process-helper without Composer
On this page you can find all versions of the php package totten/process-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download totten/process-helper
More information about totten/process-helper
Files in totten/process-helper
Download totten/process-helper
More information about totten/process-helper
Files in totten/process-helper
Vendor totten
Package process-helper
Short Description Some quick sugar for working with Symfony Process
License BSD-2-Clause
Package process-helper
Short Description Some quick sugar for working with Symfony Process
License BSD-2-Clause
Please rate this library. Is it a good library?
Informations about the package process-helper
ProcessHelper
This is a quick bit of sugar for working with Symfony Process.
Bits of extra behavior:
- Set env var
DEBUG
to display information about any commands as they are executed. (This is loosely similar to using bash'sset -x
.)DEBUG=1
- Show basic summary informationDEBUG=2
- Show full, real-time output
- The
run()
andrunOk()
helpers will execute the command while respecting the DEBUG option. - The
run()
andrunOk()
helpers will automatically cast strings and arrays intoProcess
objects. When constructing theProcess
, variables may be escaped and interpolated. - The
runOk()
helper will assert that the command executed normally. If there's an error, it throws an exception. The resulting exception message will report more details about the failed subcommand.
This doesn't really seem like it should be a standalone project, except that I've found these snippets useful in like 5+ projects...
All versions of process-helper with dependencies
PHP Build Version
Package Version
Requires
symfony/process Version
^2.0 || ^3.0 || ^4.0
The package totten/process-helper contains the following files
Loading the files please wait ....