rosell-dk/exec-with-fallback
Executes shell commands in PHP even when exec() is disabled, automatically falling back to proc_open, popen, shell_exec or other available methods. A small, dependency-free library that makes command execution reliable across restrictive hosting environments.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| consolidation/robo | 0.75 | Robo is a modern PHP task runner for automating common development workflows. Define tasks in a RoboFile with a clean OO API to run tests, build assets, deploy, and more. Extensible via plugins, with useful built-in tasks and CLI tooling. | 2,703 | 2,718 | 307 | 2M | 165 | 51.7 | 60.5 | NOASSERTION | 3 years ago | |
| seld/cli-prompt | 0.75 | Cross-platform CLI user input prompts for PHP. Read normal input or securely prompt for passwords/secret values with hidden typing. Automatically trims the trailing newline; optional visible fallback if hidden input isn’t available. Composer install. | 248 | 253 | 7 | 271K | 0 | 2.4 | 42.0 | MIT | 5 years ago | |
| php-standard-library/shell | 0.75 | Safely run shell commands from PHP with automatic argument escaping and full control over error output. Part of the PHP Standard Library, it offers a clean, predictable API for executing processes while keeping your application secure from injection risks. | 0 | 0 | 0 | 11K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| mnapoli/silly | 0.75 | Silly is a micro-framework for building PHP command-line applications on top of Symfony Console. Commands are defined with simple callables and signatures like 'greet [name] [--yell]', while dependency injection, console helpers, and PHP-DI or Pimple integration are included. | 933 | 938 | 52 | 120K | 4 | 27.4 | 33.2 | MIT | 4 months ago | |
| juststeveking/os-process | 0.75 | A lightweight Laravel package for detecting the operating system your app runs on. Check for macOS, Windows, Linux and more through a simple, expressive API, then branch your code accordingly—useful for CLI tools, environment checks, and platform-specific logic. | 76 | 76 | 4 | 0 | 0 | 0.8 | — | MIT | 4 years ago | |
| mikehaertl/php-shellcommand | 0.75 | 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. | 325 | 340 | 53 | 1M | 3 | 8.9 | 50.8 | MIT | 3 years ago | |
| nodejs-php-fallback/nodejs-php-fallback | 0.75 | NodeJsPhpFallback lets PHP and Laravel apps call Node.js modules and JavaScript, then gracefully fall back to pure-PHP implementations when Node isn't available. It bridges both runtimes so you can use npm packages without breaking environments that lack a Node binary. | 16 | 16 | 3 | 6K | 0 | 0.2 | 34.9 | MIT | 6 years ago | |
| pmjones/auto-shell | 0.74 | AutoShell maps CLI command names to PHP command classes in a chosen namespace, reflecting on each class's main method to build argument and option values. Dependency-free and low-maintenance, it acts as the router for your console commands, returning an Exec object to invoke. | 51 | 51 | 2 | 415 | 0 | 9.3 | 14.0 | MIT | 7 months ago | |
| mrafalko/command-runner-bundle | 0.74 | Symfony bundle for defining and running console commands programmatically. Register commands as services, execute them through a simple API, and integrate command automation into controllers, schedulers, or admin tools. Lightweight, configurable, and easy to wire into existing Symfony apps. | 4 | 4 | 1 | 0 | 0 | 0.4 | — | MIT | 10 years ago | |
| php-standard-library/process | 0.74 | 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 | 12K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| phar-io/executor | 0.74 | 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 | 116K | 1 | 0.3 | 55.2 | NOASSERTION | — | |
| ulrichsg/getopt-php | 0.74 | Lightweight PHP library for parsing command-line options and arguments (getopt). Define short/long flags, required/optional values, and get a clean result for building CLI tools. No framework dependencies, simple API, supports help/usage output. | 344 | 353 | 61 | 239K | 2 | 13.1 | 39.5 | MIT | 1 year ago | |
| jakyeru/laravel-shell | 0.73 | Run shell commands from Laravel through a simple, testable API. jakyeru/laravel-shell wraps process execution, captures output and exit codes, and fits neatly into Artisan commands, jobs, and services for reliable command-line automation. | 18 | — | 4 | — | 0 | 14.2 | — | MIT | 3 months ago | |
| nategood/commando | 0.73 | Commando is a lightweight PHP library for building command-line apps: define options and arguments, parse input, generate help text, and validate values. Ideal for quick CLI tools and scripts with minimal boilerplate. | 799 | 810 | 81 | 31K | 24 | 14.5 | 33.3 | MIT | — |
How can I help you explore Laravel packages today?