Small but powerful dependency injection container
This package is compliant with PSR-1, PSR-2, PSR-12, PSR-4, PSR-11 and PSR-12. If you notice compliance oversights, please send a patch via pull request.
Via Composer
composer require league/container
The following versions of PHP are supported by this version.
Container has full documentation, powered by Jekyll.
Contribute to this documentation in the docs/ sub-directory.
Testing includes PHPUnit and PHPStan (Level 7).
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Orno\Di
contributorsThe MIT License (MIT). Please see License File for more information.