vanilla/garden-container
Vanilla's Garden Container is a lightweight PSR-11 dependency injection container for PHP, offering service binding, singletons, factory definitions, lazy resolution, and automatic constructor injection. It integrates with the Garden framework and Laravel-style apps, keeping object wiring simple, ex...
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| godruoyi/easy-container | 0.87 | godruoyi/easy-container is a lightweight PHP/Laravel service container that simplifies dependency injection, binding, and singleton management. Its small API makes registering and resolving services fast, clean, and easy to integrate into Laravel applications. | 33 | — | 4 | — | 0 | 0.6 | — | — | 3 years ago | |
| ixnode/php-container | 0.85 | A lightweight PHP dependency injection container for registering, binding, and resolving services. It offers a simple API for managing object dependencies, helping keep application code decoupled, organized, and easier to test. | 1 | — | 0 | — | 0 | 2.4 | — | MIT | 10 months ago |
|
| phug/dependency-injection | 0.82 | Phug Dependency Injection is a lightweight PHP DI container offering autowiring, lazy service resolution, and flexible configuration for clean, testable applications. | 1 | 2 | 0 | 181 | 0 | 7.5 | 28.9 | MIT | 7 months ago | |
| avris/container | 0.82 | A lightweight PHP dependency injection container with simple autowiring and service definitions. Ideal for small apps and libraries needing PSR-style container access, configurable bindings, and clean object construction without a full framework. | 0 | 0 | — | 9 | — | 0.0 | 13.8 | — | — | |
| league/container | 0.82 | 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 | |
| fastd/container | 0.82 | A lightweight PSR-11 dependency injection container for PHP applications. It provides service registration, lazy loading, autowiring, aliases, and service providers, with simple integration into the FastD framework and other PSR-compatible projects. | 3 | 3 | 2 | 184 | 0 | 19.9 | 27.1 | MIT | 1 week ago | |
| slince/di | 0.81 | A lightweight, PSR-11 compatible dependency injection container for PHP. Slince DI supports constructor and setter injection, service providers, aliases, lazy loading, and shared instances, giving you a simple, flexible foundation for managing object dependencies in small to medium applications. | 20 | — | 5 | — | 0 | 0.6 | 0.4 | — | — |
|
| sanmai/di-container | 0.81 | A straightforward PSR-11 dependency injection container with zero-configuration autowiring. It resolves constructor dependencies via reflection, reuses created objects, maps interfaces to concrete implementations, and supports builder objects for complex construction. | 7 | 7 | 4 | 1M | 0 | 24.2 | 63.6 | BSD-3-Clause | 2 months ago | |
| mnapoli/php-di | 0.80 | PHP-DI is a practical, feature-rich dependency injection container for PHP. It offers autowiring, constructor injection, flexible definitions, lazy dependencies, and PSR-11 compatibility, helping you build cleaner, more testable applications with minimal configuration and boilerplate. | 2,773 | 2,775 | 320 | 421 | 56 | 40.5 | 24.0 | MIT | 1 year ago | |
| bnf/phpstan-psr-container | 0.79 | PHPStan dynamic return type extension for PSR-11 ContainerInterface. Improves type inference for $container->get() so services are typed correctly during static analysis. Install via Composer and include extension.neon (or use phpstan/extension-installer). | 13 | 13 | 4 | 208K | 1 | 0.6 | 55.2 | GPL-2.0 | 1 year ago | |
| phpbench/container | 0.79 | Lightweight, extensible PHP dependency injection container with parameters and service tagging. Register services as closures, load extensions to provide defaults and wiring, and discover tagged services. Implements container-interop for portability. | 15 | 16 | 6 | 744K | 0 | 4.8 | 57.3 | MIT | 1 year ago | |
| psr/container | 0.79 | The PSR-11 Container Interface defines core abstractions for dependency injection in PHP. It’s a standard abstraction, not an implementation—used by DI containers like Laravel’s Illuminate\Container. Essential for dependency management, ensuring interoperability across container implementations. | 9,992 | 10,026 | 54 | 30M | 3 | 29.7 | 49.4 | MIT | 5 years ago | |
| psr-discovery/container-implementations | 0.79 | Auto-discovers an available PSR-11 container at runtime by checking for well-known implementations and returning the first match. Ideal for SDKs/libraries that want PSR-11 support without hard dependencies or user configuration. | 6 | 6 | 1 | 478K | 0 | 1.3 | 55.3 | MIT | 1 year ago | |
| sergix44/container | 0.79 | A lightweight PSR-11 compatible dependency injection container for PHP, with bindings, singletons, aliases, and automatic constructor resolution. It keeps service wiring simple and testable for small apps and libraries, without requiring a full framework. | 5 | 5 | 0 | 47K | 1 | 0.1 | 53.8 | MIT | 2 years ago | |
| orno/di | 0.79 | Orno\Di is a lightweight, PSR-11 compatible dependency injection container for PHP. It supports constructor and setter injection, autowiring, lazy service resolution, aliases, and shared instances, making it easy to wire dependencies cleanly in small applications and custom frameworks. | 0 | 1 | — | 0 | — | 0.0 | — | — | — | |
| internal/container | 0.79 | A lightweight service container for Laravel and PHP applications, offering straightforward bindings, singleton management, and dependency resolution to keep internal wiring explicit, modular, and testable. Ideal for package internals and smaller codebases that need clean, predictable object construc... | 1 | 0 | 0 | 60K | 1 | 17.3 | 63.6 | BSD-3-Clause | 1 month ago | |
| aura/di | 0.79 | Aura.Di is a serializable dependency injection container for PHP 8+ supporting constructor and setter injection, interface and trait awareness, configuration inheritance, and PSR-11 compliance. It has no external implementation dependencies and installs via Composer as aura/di. | 352 | 357 | 63 | 16K | 1 | 33.1 | 27.2 | MIT | 4 days ago |
How can I help you explore Laravel packages today?