What problem does it solve? Structuring a Laravel application for production often leads to fat controllers, inconsistent API responses, N+1 query problems, and tangled domain logic. This Skill provides proven architectural patterns so your Laravel apps stay maintainable, testable, and scalable as they grow. ## Core Features & Use Cases - Layered Architecture: Keep controllers thin by delegating orchestration to services and single-purpose actions, with form requests handling validation and DTO conversion. - Eloquent Best Practices: Typed models with casts, query scopes, eager loading to avoid N+1 queries, transactions for multi-step writes, and conventional migrations. - API & Background Work: Consistent API resource responses with pagination metadata, scoped route-model binding for multi-tenant safety, plus queues, events, and caching strategies. - Use Case: When building a multi-tenant orders API, use scoped route bindings to prevent cross-account access, wrap order creation in a transaction, and return a paginated OrderResource collection. ## Quick Start Ask the agent to scaffold a Laravel orders endpoint using thin controllers, a CreateOrderAction, form request validation, and a paginated API resource response.