doctrine/phpcr-odm
Doctrine PHPCR-ODM maps PHP objects to a PHPCR content repository (e.g., Jackrabbit or DBAL-backed implementations). Provides persistence, querying, and schema mapping via Doctrine-style metadata, with tooling, docs, and test setups for multiple backends.
/site/pages/*).Collection → array changes, expression class refactoring)."This package lets us leverage Doctrine’s battle-tested ODM for hierarchical content—like a CMS or digital asset repository—without building custom persistence logic. By adopting PHPCR (via Jackrabbit or Doctrine DBAL), we gain enterprise-grade features (versioning, access control) while reducing technical debt. It integrates seamlessly with our Symfony/Laravel stack, aligns with modern Doctrine practices, and avoids vendor lock-in. For content-heavy applications, this is a cost-effective, scalable solution that accelerates development and future-proofs our architecture."
*"doctrine/phpcr-odm gives us a Doctrine-compatible ODM for hierarchical data, supporting Jackrabbit, Doctrine DBAL, and Symfony/Laravel. Key benefits:
Trade-offs:
Collection → array in queries) if migrating from older Doctrine ODM.Recommendation: Adopt for new content platforms or migrate legacy systems to this modern, scalable solution."*
How can I help you explore Laravel packages today?