TheWebSolver Container is a PowerPack Dependency Injection and Auto-wiring solution that implements PSR-11 Standards.
Install library using composer command:
$ composer require thewebsolver/container
- Contextual binding: Provide abstract dependencies based on concrete entry.
- PSR-14 Events: Dispatch and Listen to events before, during or after resolving the entry.
- Aliasing: Container binding using an alias for a concrete classname, or even binding arbitrary value using lambda function.
For usage details, visit Wiki page.