php-symfony-doctrine-fetch-modes
CommunityOptimize Doctrine fetch modes for faster queries.
AuthorLounisBou
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Doctrine ORM fetch modes help prevent N+1 queries and optimize how and when related entities are loaded in a Symfony/Doctrine stack.
Core Features & Use Cases
- EAGER: always load essential relations with parent entities to avoid additional queries.
- EXTRA_LAZY: optimize large collections by performing partial operations without loading full collections.
- Query-level fetch hints and join fetching to tailor data loading for specific repository methods.
Quick Start
Configure a repository method to use a fetch mode (e.g., fetch: 'EAGER' or EXTRA_LAZY) to optimize a representative query.
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: php-symfony-doctrine-fetch-modes Download link: https://github.com/LounisBou/claude-code/archive/main.zip#php-symfony-doctrine-fetch-modes 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 223,000+ vetted skills library on demand.