Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Shellcommand Laravel Package

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.

View on GitHub
Deep Wiki
Context7
1.7.0
  • Issue #61 Add form feed to trimmed characters
1.6.4
  • Let getExecCommand() not cache the created command string
1.6.3
  • Include PHP 5.3 in version requirements
1.6.2
  • Add .gitattributes to reduce package size
1.6.1
1.6.0
  • Issue #24 Implement timeout feature
1.5.0
  • Issue #20 Refactor handling of stdin/stdou/sterr streams with proc_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.
1.4.1
1.4.0
  • Allow stdin to be a stream or a file handle (@Arzaroth)
1.3.0
  • Add setStdIn() which allows to pipe an input string to the command (@martinqvistgard)
1.2.5
  • Issue #22 Fix execution of relative file paths on windows
1.2.4
  • Reverted changes for Issue #20 as this introduced BC breaking problems
1.2.3
  • Issue #20 Read stderr before stdout to avoid hanging processes
1.2.2
  • Issue #16: Command on different drive didn't work on windows
1.2.1
  • Fix issue #1: Command with spaces didn't work on Windows
1.2.0
  • Add option to return untrimmed output and error message
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport