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. | 799 | 810 | 81 | 31K | 24 | 14.5 | 33.3 | MIT | — | |
| tomatophp/console-helpers | 0.83 | — | 5 | 5 | 3 | 44K | 0 | 0.8 | 53.3 | MIT | 3 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 | 527K | 4 | 9.8 | 55.8 | MIT | 1 year 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 | 26K | 9 | 2.3 | 28.2 | 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 | 16K | 0 | 4.5 | 42.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. | 164 | 167 | 9 | 1K | 5 | 5.2 | 13.3 | 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 | 28K | 2 | 10.8 | 38.9 | MIT | 11 months ago | |
| adhocore/cli | 0.78 | 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. | 353 | 357 | 38 | 87K | 5 | 13.4 | 34.7 | MIT | 1 year 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. | 512 | 513 | 37 | 3K | 0 | 8.9 | 10.7 | — | 1 year ago | |
| symfony/console | 0.77 | The Console component eases the creation of beautiful and testable command line interfaces for PHP applications, with support for input/output handling, styling, and argument parsing. | 9,813 | 9,992 | 263 | 18M | 0 | 67.7 | 53.1 | MIT | 1 week ago | |
| mnapoli/silly | 0.74 | 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 | |
| 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. | 224 | 225 | 40 | 2M | 18 | 8.1 | 60.4 | NOASSERTION | — | |
| 21torr/cli | 0.74 | — | 0 | 0 | 2 | 496 | 0 | 16.0 | 41.3 | MIT | 8 months ago | |
| league/container | 0.68 | League/Container is a fast, lightweight, PSR-11 compliant dependency injection container for PHP. It offers constructor autowiring, service providers, inflectors, and lazy loading out of the box, requires no configuration, and supports PHP 8.3, 8.4, and 8.5. | 864 | 906 | 104 | 3M | 5 | 25.7 | 53.6 | MIT | 7 months ago | |
| spatie/sun | 0.64 | Compute sun position times for any coordinates: get sunrise, solar noon (zenith), and sunset as Carbon instances, optionally for a specific date. Simple PHP API from Spatie, ideal for scheduling, dashboards, and daylight-aware features. | 75 | 77 | 14 | 8K | 0 | 4.5 | 28.3 | MIT | 11 months ago | |
| sajadsdi/array-dot-notation | 0.64 | Lightweight, high-performance PHP helper to get, set, delete, and check nested array values using dot notation. Supports multi-key operations, default values, key mapping on output, and callbacks for get/set behavior. | 4 | 5 | 0 | 162 | 0 | 1.8 | 21.1 | MIT | 2 years ago | |
| spatie/once | 0.64 | A tiny PHP helper to run code only once per request. Cache expensive computations or object initialization in a single spot, keyed automatically by the call site. Great for computed properties, accessors, and avoiding duplicate work. | 1,443 | 1,450 | 62 | 328K | 0 | 33.8 | 38.0 | MIT | 2 weeks ago | |
| spatie/statamic-health | 0.64 | Statamic addon that integrates Spatie Laravel Health to monitor your app with configurable checks (e.g., disk space). View health status in the control panel and get notifications via mail or Slack when checks warn or fail. | 11 | 11 | 1 | 8 | 0 | 0.4 | 3.1 | MIT | 4 years ago | |
| spatie/html-element | 0.63 | Generate dynamic HTML in PHP with a hyperscript-style API plus Emmet-like selectors. Build elements and attributes with a simple render helper (often wrapped as el()) to produce nested markup cleanly and programmatically, ideal for small view components. | 192 | 195 | 23 | 1K | 0 | 3.5 | 12.0 | MIT | 4 years ago |
How can I help you explore Laravel packages today?