Laravel Architectural Patterns

•
151
•

Implements production-grade Laravel architecture including Service-Action-Model layers, Eloquent optimizations, and consistent API resource management.

This skill equips Claude with deep expertise in the Laravel framework to help developers build scalable, maintainable PHP applications. It provides structured guidance on implementing the Service-Action-Model pattern, ensuring business logic is decoupled from controllers for better testability. The skill covers advanced Eloquent ORM techniques, scoped route bindings for multi-tenancy, standardized API response structures, and efficient background processing with queues and events. It is ideal for developers looking to move beyond basic CRUD and implement professional-grade software architecture within the Laravel ecosystem.

主な機能

01Advanced Eloquent ORM patterns including custom casts and query objects
02Performance-focused caching and queue-based background task strategies
03Secure scoped route bindings to prevent unauthorized data access
04Service-Action-Model layering for clean separation of concerns
05151 GitHub stars
06Standardized API Resource and pagination implementation

ユースケース

01Refactoring bloated Laravel controllers into modular services and single-responsibility actions
02Designing complex database schemas with optimized migrations and relationship mapping
03Building robust RESTful APIs with consistent JSON structures and automated validation