Laravel Architecture Patterns
Implements production-grade Laravel architectural patterns to build scalable, maintainable PHP applications.
This skill equips Claude with specialized knowledge of Laravel's best practices, moving beyond basic tutorials to production-ready architecture. It focuses on structuring applications using service and action layers, implementing advanced Eloquent ORM patterns like custom casts and query objects, and designing robust APIs with resources and scoped route bindings. By providing clear boundaries between HTTP, domain, and data layers, this skill ensures your Laravel projects remain organized, testable, and performant as they scale.
Características Principales
01Secures nested resources through scoped route bindings and policies
02Orchestrates logic using thin controllers with Service and Action layers
03Standardizes API responses using Laravel Resources and DTO validation
04Optimizes database interaction with custom Eloquent casts and query objects
05151 GitHub stars
06Streamlines background processing using events, queues, and idempotent jobs
Casos de Uso
01Refactoring legacy 'fat' controllers into maintainable service/action patterns
02Designing complex, multi-tenant API structures with secure parent-child relationships
03Standardizing database migrations and model logic for team consistency