psr/container implementation for humans
- Zero cost
- Supports opcache compilation (fast).
- Supports Autowiring with automatic constructor-based configuration
- Autowiring support Union Types, Intersection Types, DNF Types, and variadic arguments
- Allows you to manually configure any dependency via closures.
- Support interface and abstract classes
- High code quality (see the badges).
Install via composer
composer require cekta/di
Best example is workging autotest with assertation and comments