getwarp/container
Decent dependency injection container compatible with PSR-11
Maintainers
3.1.2
2023-03-14 15:08 UTC
Requires
- php: ^7.4|^8.0
- getwarp/common: ^3.1
- getwarp/exception: ^3.1
- getwarp/type: ^3.1
- phpoption/phpoption: ^1.7
- psr/container: ^1.1|^2.0
- symfony/polyfill-php80: ^1.22
- symfony/polyfill-php81: ^1.22
- yiisoft/friendly-exception: ^1.0
Requires (Dev)
- phpunit/phpunit: ^9.5
- roave/security-advisories: dev-latest
Suggests
None
Provides
Conflicts
None
Replaces
None
MIT 84fa4c8c41c55f366ab7eaa9bfccf92ad2b1e575
- Constantine Karnaukhov <genteelknight.woop@gmail.com>
containerdependencydiinjectionserviceproviderinversion of controliocPSR-11psr11
README
getwarp/container
Decent dependency injection container compatible with PSR-11
GitHub • Packagist • Installation • Usage
Installation
Via Composer
$ composer require getwarp/container
Usage
use Warp\Container\DefinitionContainer; use Warp\Container\FactoryContainer; use Warp\Container\CompositeContainer; $container = new CompositeContainer([ new DefinitionContainer(), new FactoryContainer(), ]);
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Report issues and send pull requests in the main Warp repository. Please see contributing guide and code of conduct for details.
Credits
License
The MIT License (MIT). Please see license file for more information.
