pmjones/caplet
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nategood/commando | 0.83 | 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. | 803 | 812 | 81 | 28K | 24 | 14.5 | 32.6 | MIT | — | |
| tomatophp/console-helpers | 0.83 | — | 5 | 5 | 3 | 22K | 0 | 0.7 | 49.3 | MIT | 2 years ago | |
| sebastianfeldmann/cli | 0.83 | 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 | |
| sebastian/cli-parser | 0.82 | Parse PHP CLI arguments ($_SERVER['argv']) with a small, focused library extracted from PHPUnit. sebastian/cli-parser helps you interpret options and parameters reliably in console scripts and tools, with Composer-friendly installation. | 1,204 | 1,202 | 6 | 12M | 1 | 27.5 | 64.6 | BSD-3-Clause | 2 weeks ago | |
| zendframework/zend-console | 0.82 | Zend\Console provides a robust set of tools for building PHP command-line apps and scripts. It includes input parsing, argument and option handling, console adapters, and helpers for formatting output, making it easier to create interactive and portable CLI commands. | 47 | 50 | 30 | 36K | 9 | 2.3 | 29.4 | BSD-3-Clause | 7 years ago | |
| simple-cli/simple-cli | 0.82 | Dependency-free CLI framework for PHP 8 using attributes/annotations. Auto-generates --help docs, suggests mistyped commands, supports colors, interactive input with completion, and includes usage/version plus --help/--quiet/--verbose. CLI scaffolding and PHAR build support. | 11 | 12 | 2 | 13K | 0 | 4.5 | 41.8 | MIT | 3 years ago | |
| clue/commander | 0.81 | Minimal, pragmatic console framework for PHP. Define commands with arguments/options, get automatic help/usage output, and run apps via a simple dispatcher. Lightweight alternative to Symfony Console for building small CLI tools quickly. | 167 | 167 | 9 | 1K | 5 | 5.2 | 13.4 | MIT | 5 years ago | |
| alexeyshockov/plain-commands | 0.81 | — | 2 | 2 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| zenstruck/console-test | 0.81 | Test your Symfony Console commands with ease. zenstruck/console-test provides a lightweight harness to run commands, feed input, capture output, and assert exit codes and messages—ideal for fast, reliable unit/integration tests without booting full apps. | 57 | 57 | 8 | 39K | 2 | 15.2 | 42.4 | MIT | 6 months ago | |
| titasgailius/terminal | 0.77 | 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 | |
| php-standard-library/shell | 0.74 | 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 | 1 week ago | |
| consolidation/annotated-command | 0.74 | PHP library for building CLI commands from annotations/attributes. Define command names, options, arguments, and hooks in docblocks, then let it parse input and run methods. Used by Drush and other tools for fast, structured command definitions. | 225 | 226 | 40 | 1M | 19 | 8.4 | 58.6 | NOASSERTION | — | |
| 21torr/cli | 0.74 | — | 0 | 0 | 2 | 723 | 0 | 18.3 | 44.6 | MIT | 3 months ago | |
| pmjones/auto-shell | 0.69 | 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 | 118 | 0 | 17.6 | 8.1 | MIT | 2 months ago |
How can I help you explore Laravel packages today?