orm-patterns
CommunityMaster ORM patterns for scalable data access
Authorcoagus
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The ORM patterns skill clarifies when to apply Active Record vs Data Mapper, how to avoid N+1 queries, and how to design robust, scalable data access in PHP projects, reducing coupling and improving testability.
Core Features & Use Cases
- Active Record vs Data Mapper decisions and anti-patterns
- Identity map, unit of work, eager vs lazy loading
- Scopes, query builder composition, and relationship cascading
- Soft deletes, optimistic locking, and performance profiling
- Guidelines for reviewing and optimizing ORM-layer code in the php-api-builder library to achieve maintainable, performant data access
Quick Start
Review the ORM patterns discussion to evaluate and refactor your models for scalable data access.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: orm-patterns Download link: https://github.com/coagus/php-api-builder/archive/main.zip#orm-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.