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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/shell | 0.81 | Execute shell commands safely in PHP with robust argument escaping, clear capture of stdout/stderr, and helpful error handling. Part of PHP Standard Library, designed for predictable command execution and output management across environments. | 0 | 0 | 0 | 12K | 0 | 21.2 | 64.9 | MIT | 2 weeks ago | |
| keradus/cli-executor | 0.79 | Execute CLI commands from PHP with a simple, lightweight wrapper. Run processes, capture output, handle exit codes, and manage arguments for reliable command execution in scripts and Laravel apps. | 4 | 4 | 3 | 33K | 0 | 11.2 | 56.5 | NOASSERTION | 7 months ago | |
| devster/ubench | 0.79 | Ultra small PHP benchmarking library with a simple API to time code, measure memory usage, run iterations, and print readable results. Great for quick micro-benchmarks in scripts, tests, and CLI tools without dependencies. | 564 | 569 | 70 | 10K | 2 | 6.0 | 18.1 | — | 7 years ago | |
| digipolisgent/command-builder | 0.79 | PHP command builder to compose complex shell command strings fluently. Add flags/arguments, pipe output, and chain onSuccess/onFailure blocks to build conditional command groups for safe execution and readable CLI scripting. | 0 | 0 | 0 | 3K | 1 | 0.4 | 48.7 | MIT | 6 years ago | |
| sebastianfeldmann/cli | 0.79 | Lightweight PHP library for building CLI tools: defines commands and options, parses argv, validates input, and renders help/usage output. Clean API for composing console applications with consistent argument handling and exit codes. | 21 | 21 | 8 | 300K | 4 | 9.8 | 55.8 | MIT | 1 year ago | |
| pmjones/caplet | 0.78 | Caplet is a minimal PSR-11 autowiring dependency injection container for constructor injection and simple factories. Use get() for shared instances, new() for fresh ones, configure scalar parameters via an array, and map interfaces/abstracts via factories. | 0 | 8 | — | 0 | — | 0.3 | — | — | — | |
| illuminate/process | 0.78 | Illuminate Process provides a fluent API to run and manage system processes in Laravel. Start commands, stream output, handle timeouts, work in specific directories, set env vars, capture results, and integrate cleanly with other Illuminate components. | 44 | 44 | 5 | 52K | 0 | 0.4 | 42.4 | MIT | — | |
| nette/utils | 0.77 | Handy PHP utility classes from the Nette Framework: strings, arrays, JSON, dates/times, file system helpers, safe reflection, and more. Lightweight, well-tested, and framework-agnostic—useful building blocks for everyday PHP and Laravel projects. | 2,140 | 2,186 | 153 | 11M | 9 | 47.0 | 66.0 | NOASSERTION | 3 weeks ago | |
| titasgailius/terminal | 0.76 | A lightweight PHP package for building and running terminal commands. Compose commands with a fluent API, execute processes, stream output, handle timeouts and exit codes, and run tasks cross-platform—ideal for artisan tools, deploy scripts, and CI automation. | 513 | 514 | 37 | 3K | 0 | 8.9 | 10.7 | — | 1 year ago |
How can I help you explore Laravel packages today?