alireaza / container
The PSR-11 Container.
Fund package maintenance!
Linkedin
1.2.0
2022-03-05 00:38 UTC
Requires
- php: ^8.0.0
- psr/container: 1.1.1|2.0.2
Requires (Dev)
- phpunit/phpunit: ^9.5.16
README
Install
Via Composer
$ composer require alireaza/container
Usage
use AliReaza\Container\Container; $container = new Container(); $container->containers['foo'] = 'bar'; $container->get('foo'); // bar
License
The MIT License (MIT). Please see License File for more information.