mnapoli/php-di
The dependency injection container for humans
Maintainers
Requires
- php: >=8.0
- laravel/serializable-closure: ^1.0 || ^2.0
- php-di/invoker: ^2.0
- psr/container: ^1.1 || ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3
- friendsofphp/proxy-manager-lts: ^1
- mnapoli/phpunit-easymock: ^1.3
- phpunit/phpunit: ^9.6 || ^10 || ^11
- vimeo/psalm: ^5|^6
Suggests
- friendsofphp/proxy-manager-lts: Install it if you want to use lazy injection (version ^1)
Provides
Conflicts
None
Replaces
None
MIT f88054cc052e40dbe7b383c8817c19442d480352
dependency injectioncontainerdiioccontainer-interopPSR-11psr11
This package is auto-updated.
Last update: 2025-12-31 13:02:29 UTC
README
| layout |
|---|
| home |
👁 Downloads per months
👁 Total downloads
👁 Average time to resolve an issue
👁 Percentage of issues still open
PHP-DI is a dependency injection container meant to be practical, powerful, and framework-agnostic.
Read more on the website: php-di.org
For Enterprise
Available as part of the Tidelift Subscription
The maintainers of php-di/php-di and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.
