laravel:form-requests

Community

Slim controllers, robust validation.

Authormeistro57
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill centralizes validation and authorization logic, preventing controllers from becoming bloated with these concerns and improving code organization.

Core Features & Use Cases

  • Decoupled Validation: Move complex validation rules into dedicated Form Request classes.
  • Authorization Gates: Define access control within Form Requests using the authorize() method.
  • Use Case: When updating a user profile, all the checks for required fields, email format, and whether the current user is authorized to make the change are handled by the UpdateProfileRequest before the controller method even executes.

Quick Start

Create a new form request for handling user profile updates by running the command: sail artisan make:request UpdateProfileRequest.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: laravel:form-requests
Download link: https://github.com/meistro57/chat_bridge/archive/main.zip#laravel-form-requests

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.