lorisleiva/request-controller
A Laravel package that lets Form Requests act as invokable controllers, combining validation, authorization, and request handling in a single class for cleaner single-action endpoints.
FormRequest carry both request validation/authorization and the endpoint action via invokable controller behavior. That fits small, single-purpose endpoints and reduces controller boilerplate. It is a poor fit for complex workflows, reusable domain services, or teams that enforce strict separation between transport validation and application actions. This is an architectural pattern choice, not foundational infrastructure.illuminate/* constraints? Does validation and authorization fire identically to native FormRequest injection? Are middleware, route model binding, route:list, route caching, and dependency injection preserved? Is the package forkable and testable under our CI? Does the boilerplate reduction justify a nonstandard pattern versus native invokable controllers with FormRequest injection?route:list, exception rendering, and dependency injection. Add contract tests around the request lifecycle. Verify the package against the next planned Laravel upgrade before standardizing.How can I help you explore Laravel packages today?