What problem does it solve?
This Skill solves the common pain of building Laravel applications that become unmaintainable, inconsistent, and prone to performance issues like N+1 queries as they scale, by providing production-grade architecture patterns and best practices.
Core Features & Use Cases
- Production Architecture Patterns: Pre-vetted directory layouts and layer boundaries for controllers, services, actions, and models to enforce separation of concerns.
- Eloquent & Performance Optimization: Guidance on typed models, scopes, eager loading, query objects, and caching to eliminate N+1 queries and speed up database operations.
- Use Case: When building a multi-tenant Laravel API, use this Skill to implement scoped route bindings, service container dependency wiring, and queued background jobs to ensure security and scalability.
Quick Start
Use the laravel-patterns skill to restructure your existing Laravel app's controller and service layers to follow the recommended thin controller, service/action pattern outlined in the skill.