aura/di
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| illuminate/reflection | 0.89 | Illuminate\Reflection wraps PHP's native ReflectionClass with Laravel-specific helpers for inspecting methods, properties, traits, attributes, and doc comments. It underpins the service container, route model binding, and much of the framework's internal introspection. | 34,987 | 37 | 12,028 | 1M | 55 | 78.2 | 58.1 | MIT | 4 days ago | |
| illuminate/container | 0.87 | The Illuminate Container is Laravel's powerful dependency injection container. It manages class dependencies, binds and resolves services, supports contextual and method injection, and provides a simple, flexible foundation for building decoupled PHP applications. | 34,987 | 322 | 12,028 | 2M | 55 | 78.2 | 60.4 | MIT | 4 days ago | |
| hyperf/di | 0.87 | Hyperf/DI is a lightweight dependency injection container for Hyperf, offering PSR-11 compatibility, annotation-based injection, AOP support, and flexible bean management for PHP applications. | 6,913 | 18 | 1,296 | 73K | 365 | 78.8 | 46.6 | MIT | 3 weeks ago | |
| nette/di | 0.87 | Nette DI is a fast, flexible dependency injection container for PHP with smart autowiring and compile-time configuration. It helps structure applications cleanly, reduce boilerplate, and catch wiring errors early. Ideal for Nette Framework and standalone PHP projects. | 922 | 928 | 73 | 1M | 3 | 36.9 | 50.9 | NOASSERTION | 1 week ago | |
| mnapoli/php-di | 0.87 | 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 | |
| slince/di | 0.87 | 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.86 | 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 | |
| php-di/php-di | 0.86 | PHP-DI is a practical, powerful, framework-agnostic dependency injection container for PHP. It helps manage services and wiring with autowiring and flexible configuration, making applications easier to build, test, and maintain across any framework. | 2,772 | 2,855 | 320 | 4M | 56 | 49.2 | 64.3 | MIT | 1 year ago | |
| internal/container | 0.86 | 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 | |
| michael-rubel/laravel-enhanced-container | 0.86 | A lightweight extension for Laravel’s service container, offering convenient helpers for binding, resolving, and managing dependencies. Simplify contextual bindings, singletons, and instance handling while keeping service providers clean, expressive, and easier to test. | 88 | 88 | 3 | 546 | 0 | 0.8 | 11.8 | MIT | 1 year ago | |
| league/container | 0.86 | 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 | |
| bnf/di | 0.86 | Lightweight dependency injection container for PHP/Laravel projects. Configure bindings and resolve services automatically with simple, minimal setup—ideal for small apps or packages that need clean inversion of control without a heavy framework. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| yiisoft/factory | 0.86 | A flexible factory for Yii3 that creates objects from class names, definitions, or callables, resolving constructor dependencies through a PSR-11 container. Ideal for configurable services and dependency injection setups. | 36 | 37 | 14 | 19K | 5 | 3.6 | 39.0 | BSD-3-Clause | 11 months ago | |
| orno/di | 0.86 | 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 | — | — | — | |
| laminas/laminas-servicemanager | 0.86 | Laminas ServiceManager is a PSR-11 compatible dependency injection container for PHP. It supports factory-based service creation, aliases, abstract factories, delegators, and lazy loading, making it a flexible foundation for managing object dependencies. | 160 | 162 | 63 | 2M | 13 | 27.5 | 69.8 | BSD-3-Clause | 5 months ago | |
| slick/di | 0.85 | Slick\DI is a lightweight dependency injection container for PHP that wires services through autowiring, explicit bindings, and lazy resolution. It offers a small, PSR-11 friendly API for managing object lifecycles in Laravel, Slim, and standalone applications. | 0 | 0 | 0 | 232 | 0 | 0.0 | 32.7 | NOASSERTION | 2 years ago | |
| aura/session-interface | 0.85 | aura/session-interface defines a clean PHP contract for session handling in Aura applications, specifying methods for session segments, flash messages, and CSRF token management so you can implement interchangeable session backends behind a consistent API. | 0 | 0 | 0 | 299 | 0 | 18.3 | 39.7 | MIT | 1 month ago | |
| idel/laravel-modular | 0.85 | idel/laravel-modular brings a structured module system to Laravel, letting you split large applications into self-contained packages with their own routes, views, migrations, config, and service providers, so features stay organized, reusable, and easy to enable or disable. | 15 | 16 | 5 | 0 | 1 | 0.6 | 0.8 | MIT | 2 years ago | |
| liip/container-wrapper-bundle | 0.85 | Symfony bundle that provides a lightweight wrapper around the service container, letting you inject a container interface into services and fetch dependencies lazily without coupling code to Symfony's full container. | 29 | 29 | 1 | 0 | 1 | 0.3 | — | — | 11 years ago | |
| zendframework/zend-auradi-config | 0.85 | Zend Auradi Config integrates Auradi-style configuration loading into Zend Framework apps. Provides utilities to read, merge, and manage environment-specific config sources for cleaner, modular application configuration. | 3 | 3 | 1 | 121 | 0 | 1.5 | 14.6 | BSD-3-Clause | 7 years ago |
How can I help you explore Laravel packages today?