opis / container
Serializable dependency injection container
Installs: 1 603
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: >=7.0.0
- opis/closure: ^3.0
- psr/container: ^1.0
Requires (Dev)
- phpunit/phpunit: ^6.5
README
Dependency injection container
Opis Container is a library that provides an easy to use, fully serializable dependency injection container, with support for PSR-11.
Documentation
The full documentation for this library can be found here
License
Opis Container is licensed under the Apache License, Version 2.0.
Requirements
- PHP 7.0.* or higher
- Opis Closure ^3.0
- PSR Container ^1.0
Installation
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" } }