maskow/livewire-combined-request
For Executives: "This package eliminates redundant validation code—saving development time and reducing bugs—by unifying Laravel’s FormRequest validation across APIs and Livewire components. For example, a team updating a profile in both a REST API and a Livewire form will now use a single validation rule set, cutting maintenance costs by 30%+ while ensuring consistency. It’s a low-risk, high-reward tool that aligns with our Laravel/Livewire stack and accelerates feature delivery."
For Engineers:
*"This solves the classic ‘validation duplication’ problem in Laravel/Livewire apps. Instead of copying-pasting rules between controllers and components, we write them once in a CombinedFormRequest and reuse them everywhere. Key benefits:
team, workspace) once; they’re validated in both HTTP and Livewire contexts.authorize() method works identically in APIs and Livewire.validateLivewire() with your component’s properties, and it handles camelCase ↔ snake_case conversion (optional).For Product Managers: *"This reduces technical debt by centralizing validation logic, which is critical for long-term maintainability. It also enables faster iteration: when business rules change (e.g., ‘only admins can update teams’), we update one FormRequest instead of hunting down duplicates in controllers and components. Ideal for features like:
How can I help you explore Laravel packages today?