zenstruck/controller-util
Symfony controller utilities that cut boilerplate: traits for entity lookups with automatic 404 handling, flash messages, redirects, form processing, and template rendering, keeping your controllers small, consistent, and focused on the action itself.
Responsable, API Resources, view()/redirect()) and Symfony (AbstractController, #[Template], HttpFoundation responses).Consider it only if:
Look elsewhere when:
Responsable, API Resources, view(), redirect(), Inertia, or a small internal response-builder instead.AbstractController, #[Template], redirect helpers, and kernel view listeners — all first-party and maintained.To executives: We recommend no purchase and no adoption. The package is abandoned, has negligible community traction (40 stars, zero dependents), and targets a framework generation we are moving off. There is no licensing cost, but also no support, no security patching, and no roadmap value. Treat this as a five-minute decision, not an initiative.
To engineering: Do not add this as a dependency. Extract the idea: controllers return framework-agnostic view objects; a single listener/adapter converts them to HTTP responses. That buys the same testability and multi-format benefits on supported stacks (Laravel Responsable/Resources or Symfony AbstractController), keeps us on maintained libraries, and costs about a day. Flag any existing Symfony2 codebase still depending on it for a removal ticket.
Bottom line: Low opportunity, low risk if ignored. Correct the package record to "Symfony2, archived" so it stops surfacing in Laravel/PHP evaluations, and if any team wants the pattern, budget an internal spike rather than a dependency review.
How can I help you explore Laravel packages today?