illuminate/container
Illuminate Container is Laravel’s lightweight dependency injection container for resolving classes, managing bindings, singletons, contextual dependencies, and automatic constructor injection. It powers service resolution and inversion of control in Laravel apps and packages.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| psr-discovery/container-implementations | 0.87 | 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 | 439K | 0 | 1.3 | 55.3 | MIT | 1 year ago | |
| avris/container | 0.87 | 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 | — | 0 | — | 0.0 | — | — | — | |
| league/container | 0.86 | league/container is a lightweight PSR-11 dependency injection container for PHP. Define entries, factories, and autowiring-friendly services to manage application dependencies cleanly, with modern PHP support and solid tooling for testing and analysis. | 867 | 904 | 105 | 2M | 5 | 34.4 | 53.9 | MIT | 2 months ago | |
| container-interop/service-provider | 0.86 | Experimental PSR draft to standardize PHP service providers (“bundles/modules”) for PSR-11 containers. Defines interfaces for registering factories and extensions so modules can share container definitions across frameworks. Not stable before 1.0; expect breaking changes. | 71 | 72 | 10 | 2K | 4 | 3.2 | 22.4 | — | 2 years 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/di | 0.86 | PSR-11 compatible dependency injection container for PHP 8.1+. Supports autowiring plus constructor, method and property injection, aliasing, service providers, delegated/composite containers, circular reference detection, and state reset for long-running workers. | 236 | 239 | 46 | 27K | 14 | 18.9 | 37.3 | BSD-3-Clause | 6 months ago | |
| psr/container | 0.86 | 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. | 10,012 | 10,048 | 53 | 17M | 3 | 29.6 | 45.8 | MIT | 4 years ago | |
| wp-starter/container | 0.84 | Lightweight dependency injection container for PHP. Provides simple service binding and resolution to help structure applications and manage dependencies cleanly, suitable for small projects and framework-agnostic setups. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | 3 years ago | |
| spatie/laravel-translatable | 0.60 | Adds a HasTranslations trait to Eloquent models to store translations as JSON in the same table (no extra tables). Define translatable attributes via PHP attribute or $translatable, then set/get translations per locale and auto-resolve by app locale. | 2,444 | 2,464 | 297 | 1M | 0 | 49.1 | 42.1 | MIT | 1 month ago |
How can I help you explore Laravel packages today?