container-interop/service-provider
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| psr-discovery/container-implementations | 0.88 | 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 | 519K | 0 | 1.3 | 55.3 | MIT | 1 year ago | |
| illuminate/container | 0.86 | 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. | 310 | 323 | 60 | 2M | 0 | 3.4 | 51.6 | MIT | — | |
| symfony/dependency-injection | 0.86 | Symfony DependencyInjection standardizes and centralizes object construction with a powerful service container. Define services and parameters, manage autowiring and configuration, and optimize performance through compilation for cleaner, decoupled apps. | 4,164 | 4,201 | 91 | 8M | 0 | 58.3 | 53.6 | MIT | 1 week ago | |
| bnf/phpstan-psr-container | 0.85 | 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 | 6 | 173K | 1 | 0.6 | 55.2 | GPL-2.0 | 1 year ago | |
| psr/container | 0.84 | 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,999 | 10,040 | 54 | 19M | 3 | 29.6 | 46.4 | MIT | 4 years ago | |
| avris/container | 0.83 | 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 | — | — | — | |
| loophp/psr-http-message-bridge-bundle | 0.82 | Symfony bundle that bridges PSR-7 HTTP messages with Symfony’s HttpFoundation, enabling smooth interop between PSR-7 libraries and Symfony apps. Provides converters/adapters to translate requests and responses in both directions. | 3 | 3 | 1 | 4K | 1 | 16.2 | 48.9 | MIT | 4 months ago | |
| league/container | 0.82 | 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. | 868 | 908 | 105 | 2M | 5 | 30.8 | 52.9 | MIT | 4 months ago | |
| container-interop/container-interop | 0.73 | container-interop/container-interop defines a common ContainerInterface (get/has) so PHP dependency injection containers can work together. It standardizes basic container behavior for libraries and apps, improving portability and reducing coupling across different container implementations. | 1,245 | 1,116 | 44 | 334K | 13 | 12.3 | 37.6 | MIT | 9 years ago |
How can I help you explore Laravel packages today?