Habemus Container ☰ Menu

What is Habemus?

Habemus is a PSR-11 compatible dependency injection container. More than this, Habemus is a powerful tool that provides autowiring to implement Inversion of Control (IoC) containers for PHP.

This tool was designed to be fast, simple and help you to worry less and code more.

Features

  • PSR-11 compatible.
  • Auto wiring (recursively through all dependencies)
  • Constructor injection.
  • Setter injection.
  • Property/constructor injection using PHP 8 Attributes.
  • Circular dependency detection.
  • Interfaces, Factories, Closures, Callbacks.
  • Delegated containers.
  • Container composite.
  • Service providers and lazy service providers.
  • Taggable services.
  • Shareable instances.
  • Variadic arguments in the constructor.
  • Aliasing.
  • Array Access.
×