Description
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.
Alternatively, view Container alternatives based on common mentions on social networks and blogs.
-
Symfony DI
Allows you to standardize and centralize the way objects are constructed in your application -
Nette DI
๐ Flexible, compiled and full-featured Dependency Injection Container with perfectly usable autowiring and support for all new PHP 8 features.
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Container or a related project?
README
Container (Dependency Injection)
This package is compliant with PSR-1, PSR-2, PSR-4 and PSR-11. If you notice compliance oversights, please send a patch via pull request.
Install
Via Composer
$ composer require league/container
Requirements
The following versions of PHP are supported by this version.
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 7.4
- PHP 8.0
Documentation
Container has full documentation, powered by Jekyll.
Contribute to this documentation in the docs/ sub-directory.
Testing
$ composer test
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Phil Bennett
- All Contributors
Orno\Di
contributors
License
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.