yokai/dependency-injection
yokai/dependency-injection is a lightweight Laravel/PHP package for managing class dependencies and service resolution, helping you bind, resolve, and inject objects through a simple container to keep application code cleaner and more testable.
Illuminate\Container and service provider lifecycle. Direct replacement of Laravel’s container is not feasible; value is limited to systems already using Symfony DI or isolated components that intentionally use symfony/dependency-injection.symfony/dependency-injection, and accidental coupling of Laravel service resolution to Symfony container semantics.symfony/dependency-injection version constraints are supported?symfony/dependency-injection versions in composer.lock; validate against the organization’s PHP and Laravel/Symfony versions. Run CI against the minimum and maximum supported dependency versions before any pilot.How can I help you explore Laravel packages today?