Container Overview
antares-container is a zero-dependency, reflection-based DI container for PHP 8.2+. It can be used standalone or as part of the Antares framework.
composer require fatjon-lleshi/antares-containerFeatures
Section titled “Features”- Automatic constructor injection via reflection
- Interface-to-concrete bindings
- Singleton registration with factory closures
- Recursive nested dependency resolution
- Circular dependency detection