dittto/symfony-custom-request
Symfony\Component\Validator) and doesn’t need dynamic service dependencies in validation.For Executives:
"This package lets us move input validation out of controllers and into reusable, testable objects—reducing bugs and making our codebase more scalable. For example, instead of checking a token in every controller, we’d define a one-time TokenRequest object that validates it once. This aligns with our goal of cleaner architecture and could save dev time on repetitive validation logic, especially as we scale APIs or integrate with external systems."
For Engineers:
"If you’re tired of controllers doing too much validation, this bundle lets you create custom request objects (e.g., ApiKeyRequest, UserProfileRequest) that handle validation logic upfront. You can inject services (like a database client) into these objects, so validation can be as complex as needed—without cluttering controllers. Tradeoff: It’s a Symfony 2/3-only package with no recent updates, so weigh that against your project’s constraints."
Key Selling Points:
How can I help you explore Laravel packages today?