mikehaertl/php-shellcommand
Run and manage shell commands from PHP with a simple, safe API. Capture output, exit codes, and errors; set timeouts, working dir, env vars, and pipes; build commands with proper escaping. Useful for CLI wrappers and background jobs.
getExecCommand() not cache the created command string.gitattributes to reduce package sizeproc_open(). By default these streams now operate in non-blocking mode which should fix many hanging issues that were caused when the command received/sent a lot of input/output. This is the new default on Non-Windows systems (it's not supported on Windows, though). To get the old behavior the nonBlockingMode option can be set to false.setStdIn() which allows to pipe an input string to the command (@martinqvistgard)How can I help you explore Laravel packages today?