Resolver (Dependency Injection)
This package aim to provide a simple yet powerful interface for resolving classes / methods / closures dependencies.
This is known as auto wiring.
Well tested code
No external dependencies
Works with php >= 5.6.4
PSR-1, PSR-2 and PSR-4 compliant
Installation
composer require abellion/resolver
Performances
Less is better
Class without dependencies | Class with three depencencies |
---|---|