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 | 82 | 29K | 24 | 14.6 | 32.9 | MIT | — | |
| 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 | 264K | 4 | 29.8 | 65.9 | MIT | 1 year ago | |
| sebastian/cli-parser | 0.82 | sebastian/cli-parser is a lightweight PHP library for parsing command-line arguments from $_SERVER['argv'], extracted from phpunit/phpunit. Ideal for building CLI tools and test runners that need reliable option and argument handling. | 1,201 | 1,202 | 6 | 12M | 0 | 27.7 | 65.0 | BSD-3-Clause | 2 months 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 | 33K | 9 | 12.3 | 49.3 | 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. | 10 | 11 | 2 | 11K | 0 | 24.5 | 48.9 | 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 | 295 | 5 | 25.2 | 9.0 | MIT | 5 years ago | |
| league/climate | 0.81 | League CLImate makes PHP CLI output nicer with easy colored text, formatting, and styled messages. Install via Composer and use a simple API to print red, blue, and more, helping your command-line scripts look clean and readable. | 1,884 | 1,932 | 124 | 209K | 13 | 17.1 | 32.8 | 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. | 58 | 58 | 8 | 44K | 2 | 25.1 | 46.7 | MIT | 4 months 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 | 3K | 0 | 20.6 | 57.1 | MIT | 2 weeks 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 | — | 40 | — | 19 | 8.4 | 8.2 | NOASSERTION | — | |
| symfony/console | 0.74 | Symfony Console makes it easy to build beautiful, testable PHP command‑line tools. Define commands, arguments and options, add interactive prompts, styled output and progress bars, plus robust input/output handling for CLI apps and scripts. | 9,830 | 10,011 | 268 | 16M | 0 | 62.9 | 52.4 | MIT | 1 week ago | |
| pmjones/auto-shell | 0.69 | AutoShell auto-maps CLI command names to PHP command classes in a namespace. It reflects a command’s main method to parse args/options (scalars or arrays), then returns an Exec to run. Zero dependencies—add a class and it becomes a command. | 51 | 51 | 2 | 82 | 0 | 21.8 | 6.7 | MIT | 4 weeks ago | |
| codeception/util-universalframework | 0.59 | Universal helper utilities for the Codeception testing framework, providing lightweight, framework-agnostic components to simplify test setup and reuse across projects. A small add-on package aimed at boosting consistency and reducing boilerplate in automated tests. | 1 | 1 | 1 | 59K | 1 | 20.7 | 65.0 | MIT | 3 months ago | |
| eliashaeussler/phpunit-attributes | 0.59 | PHPUnit Attributes adds modern PHP 8 attributes to define PHPUnit tests, data providers, groups, dependencies and more in a clean, declarative way. Keep test classes readable and reduce annotation/docblock noise while staying compatible with PHPUnit workflows. | 4 | 4 | 1 | 1K | 1 | 24.6 | 38.7 | GPL-3.0 | 1 month ago | |
| ralphjsmit/laravel-helpers | 0.58 | A handy collection of Laravel helper functions to simplify everyday tasks. Adds pragmatic utilities for strings, arrays, paths, and common framework workflows, aiming to reduce boilerplate and keep your app code clean and consistent. | 13 | 13 | 2 | 42K | 0 | 25.6 | 56.6 | MIT | 1 month ago | |
| pedrotroller/php-cs-custom-fixer | 0.58 | Custom fixers for PHP-CS-Fixer. Adds rules like ordering Behat context step definition methods by annotation and method name, with options for detecting context classes. Install via Composer and register the fixers in your .php_cs(.dist) config. | 81 | 83 | 10 | 17K | 4 | 32.2 | 45.2 | — | 6 months ago |
How can I help you explore Laravel packages today?