Skip to content

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.

Terminal window
composer require fatjon-lleshi/antares-container
  • Automatic constructor injection via reflection
  • Interface-to-concrete bindings
  • Singleton registration with factory closures
  • Recursive nested dependency resolution
  • Circular dependency detection