php-standard-library/shell
Execute shell commands safely in PHP with built-in argument escaping and controlled handling of stdout/stderr. Part of PHP Standard Library, providing a simple API for running processes, capturing error output, and managing failures predictably.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| titasgailius/terminal | 0.86 | 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. | 512 | 514 | 37 | 2K | 0 | 8.9 | 10.3 | — | 1 year ago | |
| pmjones/auto-shell | 0.86 | AutoShell maps CLI command names to PHP command classes in a namespace, reflecting on a main method to parse args/options (scalars or arrays). Add a class in the command directory and it becomes available automatically—no dependencies, minimal setup. | 51 | 51 | 2 | 38 | 0 | 15.2 | 3.7 | MIT | 4 months ago | |
| laravel-zero/framework | 0.85 | Laravel Zero is an unofficial, Laravel-based micro-framework for building fast, elegant console apps. Includes optional Eloquent/logging, interactive menus, desktop notifications, scheduler, standalone compiler, and Collision-powered error reporting. | 351 | 349 | 64 | 54K | 0 | 21.6 | 34.5 | MIT | 4 months ago | |
| symfony/console | 0.85 | Symfony Console makes it easy to build beautiful, testable command-line applications in PHP. It provides structured commands, arguments and options, interactive prompts, styled output, helpers, and robust input/output handling for modern CLIs. | 9,810 | 9,992 | 266 | 18M | 0 | 67.7 | 53.0 | MIT | 1 week ago | |
| adhocore/cli | 0.83 | A lightweight PHP library to build interactive CLI apps with commands, options, prompts, and colored output. Create structured command-line tools quickly, with input helpers and utilities suited for both simple scripts and larger console applications. | 352 | 356 | 38 | 83K | 5 | 13.4 | 34.5 | MIT | 1 year ago | |
| jstewmc/stream | 0.82 | jstewmc/stream is a small PHP library that provides a simple Stream abstraction for working with PHP stream resources. It helps with reading/writing, buffering, and common stream operations behind a cleaner, object-oriented API. | 5 | 5 | 0 | 9K | 0 | 0.0 | 44.1 | MIT | — | |
| digipolisgent/command-builder | 0.82 | 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 | 2K | 1 | 0.4 | 46.4 | MIT | 7 years ago | |
| alchemy/binary-driver | 0.81 | PHP toolkit for building reusable, testable binary drivers on top of symfony/process. Provides AbstractBinary, binary detection, command generation, logging via PSR-3, and process listeners for debugging and customization across CLI tools. | 191 | 195 | 64 | 57K | 13 | 9.1 | 39.2 | NOASSERTION | 6 years ago | |
| bcncommerce/json-stream | 0.81 | Stream JSON reading and writing for PHP. Incrementally parse or generate large JSON documents from file handles without loading everything into memory. Supports entering/leaving objects and arrays, reading keys or iterating items—ideal for exports/imports like product catalogs. | 65 | 68 | 10 | 40K | 2 | 2.2 | 38.4 | MIT | 5 years ago | |
| mckenziearts/laravel-command | 0.81 | Dev-only Artisan generators for Laravel: quickly scaffold templated repositories, helpers, and observers. Adds make:repository and related commands to create boilerplate files, with configurable model namespaces for non-standard app structures. | 32 | 32 | 2 | 0 | 0 | 0.5 | — | — | 8 years ago | |
| phar-io/executor | 0.80 | phar-io/executor is a small PHP library for safely running external commands and processes. It builds and executes command lines, captures output and exit codes, and helps integrate tooling and CLI binaries into PHP applications and test suites. | 2 | 2 | 2 | 73K | 1 | 0.3 | 55.2 | NOASSERTION | — | |
| bcncommerce/stream-wrapper | 0.80 | Laravel package providing a custom PHP stream wrapper to transparently read/write resources via non-standard URIs. Useful for integrating external storage or services behind fopen/file_get_contents with a familiar filesystem-like API. | 5 | 6 | 0 | 17 | 0 | 0.3 | 3.1 | MIT | 11 years ago | |
| php-standard-library/php-standard-library | 0.80 | PSL (PHP Standard Library) is a well-typed, centralized API set for PHP 8.4+ covering async, collections, networking, I/O, crypto, terminal UI, and more. It replaces unsafe PHP primitives with predictable, async-ready alternatives and includes composable type-safe validation. | 1,560 | 1,560 | 90 | 269K | 21 | 43.3 | 44.3 | MIT | 2 months ago | |
| php-standard-library/process | 0.80 | Typed, non-blocking PHP API for spawning, monitoring, and controlling child processes. Manage stdin/stdout/stderr streams, retrieve exit codes, and handle timeouts and signals with a clean, reliable interface for long-running and parallel tasks. | 0 | 0 | 0 | 13K | 0 | 20.1 | 64.0 | MIT | 2 months ago | |
| tanbhirhossain/laravel-live-terminal | 0.79 | — | 2 | 3 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| digitalnoise/command-launcher | 0.79 | Laravel package for launching and managing console commands programmatically. Provides a simple API to trigger Artisan commands, pass arguments/options, and handle execution flow for scheduled tasks, integrations, and background processes. | 0 | 0 | 0 | 21 | 0 | 0.0 | 18.5 | — | — | |
| windwalker/stream | 0.78 | — | 0 | 0 | 0 | 314 | 0 | 0.0 | 34.5 | MIT | — | |
| jstewmc/chunker | 0.78 | Multi-byte safe chunked reading for huge files or strings in PHP. Avoids breaking UTF-8 characters by adjusting chunk boundaries so each chunk is valid text, reducing memory use while processing streams sequentially. | 7 | 8 | 1 | 9K | 0 | 0.1 | 42.4 | MIT | — | |
| guzzlehttp/psr7 | 0.78 | Full PSR-7 message implementation with rich stream support: multiple stream types and decorators (append, buffer, caching, etc.), plus helpers like query-string parsing. Installed via Composer and maintained with v2 for PHP 7.2.5+. | 7,938 | 8,002 | 23 | 19M | 4 | 60.1 | 55.3 | MIT | 2 weeks ago | |
| ezimuel/ringphp | 0.78 | RingPHP provides a lightweight, PSR-7–focused abstraction for HTTP clients and servers, inspired by the Ring specification. Compose middleware-style handlers, adapt to popular transports, and build reusable, testable HTTP stacks without locking into a single client. | 179 | 179 | 15 | 3M | 0 | 14.8 | 60.8 | MIT | 5 months ago |
How can I help you explore Laravel packages today?