rollerworks/sf-container-injector
A Symfony component that injects services from the container into objects and controllers, enabling lazy setter-based dependency injection without constructor wiring. Useful for legacy code and optional dependencies.
Illuminate\Container with constructor injection, contextual binding, and auto-resolution. Evaluating this library mostly confirms that no third-party dependency is warranted for DI.@inject/constructor injection.symfony/dependency-injection directly, which is actively maintained.For executives: We evaluated rollerworks/sf-container-injector and are recommending against adoption. It is an abandoned library — archived by its author, last released in 2014, with no known users — and it duplicates capability Laravel already provides out of the box. Adopting it would add unsupported code to our dependency tree in exchange for zero product value. Decision: no-go; no engineering time requested.
For engineering: This is a Symfony DI container injector from the Symfony 2 era. Laravel's own container already covers constructor injection, contextual binding, and auto-wiring, so there is no functional gap to fill. The package is archived, has zero dependents, and has had no release since March 2014 — meaning no security response, no PHP 8 compatibility guarantees, and no upgrade path. If a specific integration need drove this evaluation (e.g., consuming a Symfony bundle), raise it separately and we will scope a maintained PSR-11 adapter or an isolated integration layer instead. If any existing code already references it, log a replacement ticket rather than an upgrade ticket.
How can I help you explore Laravel packages today?