What problem does it solve?
It solves the challenge of implementing Laravel backend features consistently without fragile patterns, N+1 queries, or duplicated validation and authorization logic.
Core Features & Use Cases
- Eloquent ORM patterns: Model relationships, eager loading, scopes, accessors/mutators, and casts to keep data access correct and efficient.
- Validation at the edge: Form Requests for authorization and rule-based input validation to protect controllers and unify error handling.
- Enterprise architecture building blocks: Service Container dependency injection, API Resources for stable JSON outputs, queue jobs for async work, middleware layers, and policy-based authorization.
- Migrations and testing: Reproducible schema changes and reliable feature testing to prevent regressions while iterating.
Quick Start
Ask the skill to generate a full Laravel setup for an API model named Product, including Eloquent relationships, a REST controller, Form Request validation, a JSON Resource, and an example queued job for imports.