formrequests

Official

Keep validations in FormRequests, not controllers

Authorcodebar-ag
Version1.0.0
Installs0

System Documentation

What problem does it solve?

FormRequests centralize and isolate validation, authorization, and error messaging away from controllers, simplifying controller logic and enabling reuse.

Core Features & Use Cases

  • Centralized validation rules in dedicated FormRequest classes
  • Consistent authorization checks and error messages across controllers
  • Predictable structure under app/Http/Requests/ and clear naming patterns

Quick Start

Refactor controllers by replacing inline validation with dedicated FormRequest classes.

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: formrequests
Download link: https://github.com/codebar-ag/coding-guidelines/archive/main.zip#formrequests

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.