laravel-validation
Installation
SKILL.md
Laravel Validation
Always use array syntax for rules, not pipe-delimited strings. Arrays are easier to read, diff, and extend — and required when using Rule objects or closures.
// WRONG:
'email' => 'required|email|unique:users',
// CORRECT:
'email' => ['required', 'email', 'unique:users'],