Opis Container is a library that provides an easy to use, fully serializable dependency injection container, with support for PSR-11.
The full documentation for this library can be found here
Opis Container is licensed under the Apache License, Version 2.0.
- PHP 7.0.* or higher
- Opis Closure ^3.0
- PSR Container ^1.0
Opis Container is available on Packagist and it can be installed from a command line interface by using Composer.
composer require opis/container
Or you could directly reference it into your composer.json
file as a dependency
{
"require": {
"opis/container": "^3.0"
}
}