Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpcr Odm Laravel Package

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.

View on GitHub
Deep Wiki
Context7
3.0.0
  • Compatibility with Doctrine Persistence 4.

BC Breaks

  • DocumentManagerInterface method signatures changed from Collection to array.
  • Doctrine\ODM\PHPCR\Query\Expression\Comparison no longer extends the Doctrine\Common\Collections\Expr\Comparison. Replace any usage except for ::LIKE with the class from collections.
  • Doctrine\ODM\PHPCR\Query\Expression\NodeLocalName no longer extends Comparison. You can access the comparison with getComparison.
2.1.1
  • Compatibility with Symfony 8.
  • Test with PHP 8.5 and fix deprecations.
2.1.0
  • Removed accidentally added unused dependency to doctrine/data-fixtures.
2.0.1
  • Added DocumentManager::isUninitializedObject method to avoid warning and be ready for Doctrine ORM 4.*.
2.0.0

BC Breaks

  • 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.

New Features

  • DocumentManager::getDocumentId() to get the id of a managed document

Improvements

  • Allow using doctrine/persistence

  • Added support for Symfony 7. Dropped support for PHP < 8.1 and Symfony < 5.4.

2.0.0-beta2

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

1.8.0
  • Add support for PHP attributes (only for the annotations that are not deprecated)
  • Drop support for PHP 7.
1.7.2
  • Maintenance release with doc and phpunit test cleanups.
2.0.0-beta1

BC Breaks

  • 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.

New Features

  • DocumentManager::getDocumentId() to get the id of a managed document

Improvements

  • Allow using doctrine/persistence

Dropped support for PHP < 7.4 and Symfony < 5.4.

1.7.1
  • Test with PHP 8.2
  • Allow installation with Doctrine Annotations 2, Collections 2 and EventManager 2.
1.7.0
  • Test with PHP 8.1
  • Fix edge case bug that could lead to new documents being considered inserted already.
1.6.1
  • Fix Version::VERSION constant
1.6.0
  • Support Symfony 6
  • Drop support for Symfony 2.3
1.5.4
  • Change salt string in ClassMetadataFactory to avoid invalid PSR-16 character.
1.5.3
  • Support PHP 8.0
1.5.2
  • Allow using doctrine/persistence
1.5.1
  • [Bugfix] Do not remove child when it is moved and a pre-update listener is present.
1.5.0
  • Support PHP 7.3 and 7.4
  • Allow Symfony 5
  • Drop PHP 5.6 and 7.0 and hhvm
1.4.5

Fix: Translations not loading with duplicate ids.

1.4.4

Allow installation with Symfony 4 components.

1.4.3

Support PHP 7.1 and 7.2

1.4.2
  • [Bugfix] Don't override ID generator when persisting children
1.4.1

DEPRECATED

This release accidentally had a BC break in it.

1.4.0
  • Allow children of a document to be restricted to a class or forbidden.
1.3.2
  • Fix reference many with PATH type.
1.3.1
  • Bugfix for convert translation command
  • findBy now supports arrays of criteria
1.3.0
1.3.0-rc4
  • unique node types for outer joins
  • tool to convert between translation strategies
1.2.6
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport