What problem does it solve?
This Skill eliminates common configuration and debugging headaches when working with Doctrine ORM 2.20 in OrangeHRM, such as unmapped entity errors, stale proxy issues, and cache misbehavior when adding new plugins or custom query functions.
Core Features & Use Cases
- Full Doctrine Bootstrap Documentation: Covers the single EntityManager singleton setup, multi-path entity discovery via ohrm_plugin_paths and PSR-4 autoloading, dev/prod cache split, proxy generation strategies, legacy ENUM column mapping, and custom DQL function registration.
- Troubleshooting Guidance: Step-by-step fixes for common errors like "Entity has no metadata", class not found issues, and stale proxy misbehavior after deployment.
- Use Case Example: When adding a new OrangeHRM plugin with custom entity classes, use this Skill to correctly register the entity path, update autoloading, and validate the EntityManager recognizes the new entities without errors.
Quick Start
Consult this skill when adding a new OrangeHRM plugin with entities to correctly register its entity path, update autoloading, and validate the EntityManager recognizes the new entity classes.