SkillAgentSearch skills...

Doctrine2StepHydration

Example repository to demonstrate 2-step fetch-join hydration with Doctrine2

Install / Use

/learn @Ocramius/Doctrine2StepHydration
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Doctrine ORM 2 Step Hydration

This repository is an example of how to implement 2 step hydration with Doctrine ORM.

Examples will be provided with the repository itself.

You can read more about the concept behind this repository at https://ocramius.github.io/blog/doctrine-orm-optimization-hydration

Running the examples

Simply open your terminal and run

./run.sh

To play around with the amount of records in each table, you can define environment variables:

USERS=1000 SOCIAL_ACCOUNTS=15 SESSIONS=20 ./run.sh
View on GitHub
GitHub Stars98
CategoryDevelopment
Updated2mo ago
Forks4

Languages

PHP

Security Score

80/100

Audited on Jan 28, 2026

No findings