Decent dependency injection container compatible with PSR-11
GitHub • Packagist • Installation • Usage
Via Composer
$ composer require getwarp/containeruseWarp\Container\DefinitionContainer;
useWarp\Container\FactoryContainer;
useWarp\Container\CompositeContainer;
$container = newCompositeContainer([
newDefinitionContainer(),
newFactoryContainer(),
]);Please see CHANGELOG for more information on what has changed recently.
Report issues and send pull requests in the main Warp repository. Please see contributing guide and code of conduct for details.
The MIT License (MIT). Please see license file for more information.