This package is compliant with PSR-1, PSR-2 and PSR-4. If you notice compliance oversights, please send a patch via pull request.
Container alternatives and similar libraries
Based on the "Dependency Injection" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Container or a related project?
Container (Dependency Injection)
$ composer require league/container
The following versions of PHP are supported by this version.
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
Contribute to this documentation in the docs/ sub-directory.
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email email@example.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
*Note that all licence references and agreements mentioned in the Container README section above are relevant to that project's source code only.