Optimizes Laravel database interactions using Eloquent ORM patterns, advanced relationships, and query performance techniques.
The Laravel Eloquent skill empowers Claude to act as a senior backend engineer, providing deep expertise in Laravel's Object-Relational Mapper. It assists in architecting complex database relationships, implementing model scopes for cleaner queries, managing data casting, and resolving common performance bottlenecks like the N+1 query problem. This skill is essential for developers looking to build scalable, maintainable Laravel applications with robust data layers and optimized database access through standardized templates and best practices.
主な機能
01Implementation of Scopes, Mutators, and modern Attribute Casting
02Streamlined API Resource serialization and Eloquent Collection manipulation
03Advanced relationship modeling including Polymorphic and Many-to-Many associations
04Query optimization and N+1 problem detection with eager loading patterns
05Model lifecycle management using Observers and Events
060 GitHub stars
ユースケース
01Designing complex database schemas and model relationships in Laravel applications
02Refactoring inefficient database queries to improve application response times
03Automating the creation of Model Factories and API Resources for testing and development