thephpleague / container

Small but powerful dependency injection container
http://container.thephpleague.com
MIT License
843 stars 102 forks source link
dependency-injection php

Container (Dependency Injection)

Author Latest Version Software License Tests Coverage Status Quality Score Total Downloads

This package is compliant with PSR-1, PSR-2, PSR-12, 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.

Documentation

Container has full documentation, powered by Jekyll.

Contribute to this documentation in the docs/ sub-directory.

Testing

Testing includes PHPUnit and PHPStan (Level 7).

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email philipobenito@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.