phug/dependency-injection
Phug Dependency Injection is a lightweight PHP DI container offering autowiring, lazy service resolution, and flexible configuration for clean, testable applications.
phug/dependency-injection is a lightweight dependency injection container built for the Phug template engine but usable in any PHP project. It resolves class dependencies automatically through reflection-based autowiring, while still allowing explicit bindings, aliases, and shared instances for precise control over object creation.
ContainerInterface for interoperabilityHow can I help you explore Laravel packages today?