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.
doctrine/data-fixtures.DocumentManager::isUninitializedObject method to avoid warning and be ready for Doctrine ORM 4.*.Replaced the deprecated Doctrine Cache with PSR-6 Cache. The Configuration class now expects PSR-6 Cache instances.
Removed deprecated methods HierarchyInterface::getParent/setParent. Use getParentDocument/setParentDocument instead.
DocumentManager::flush no longer saves the PHPCR session if there are no changes on the ODM layer.
Removed annotation mappings. Use attributes (or XML or YAML) instead.
ChildrenCollection::slice no longer accepts a node name as offset. If you
want a slice starting from a node name, use ChildrenCollection::sliceByChildName
instead.
Removed DocumentManager::merge()
Removed support for short namespace aliases. ClassMetadataFactory::getFqcnFromAlias and the namespace registering
on Configuration are removed. ClassMetadataFactory methods now require their $className argument to be an
actual FQCN.
DocumentManager::getDocumentId() to get the id of a managed documentAllow using doctrine/persistence
Added support for Symfony 7. Dropped support for PHP < 8.1 and Symfony < 5.4.
Changes since 2.0.0-beta1
Removed annotation mappings. Use attributes (or XML or YAML) instead.
ChildrenCollection::slice no longer accepts a node name as offset. If you
want a slice starting from a node name, use ChildrenCollection::sliceByChildName
instead.
Removed DocumentManager::merge()
Removed support for short namespace aliases. ClassMetadataFactory::getFqcnFromAlias and the namespace registering
on Configuration are removed. ClassMetadataFactory methods now require their $className argument to be an
actual FQCN.
Support Symfony 7
Replaced the deprecated Doctrine Cache with PSR-6 Cache. The Configuration class now expects PSR-6 Cache instances.
Removed deprecated methods HierarchyInterface::getParent/setParent. Use getParentDocument/setParentDocument instead.
DocumentManager::flush no longer saves the PHPCR session if there are no changes on the ODM layer.
Removed deprecated annotations for fields. Use [@Field](https://github.com/Field)(type="...") instead.
DocumentManager::getDocumentId() to get the id of a managed documentdoctrine/persistenceDropped support for PHP < 7.4 and Symfony < 5.4.
doctrine/persistenceFix: Translations not loading with duplicate ids.
Allow installation with Symfony 4 components.
Support PHP 7.1 and 7.2
DEPRECATED
This release accidentally had a BC break in it.
How can I help you explore Laravel packages today?