Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time
January 1, 2023 19:23
October 10, 2019 12:23
January 5, 2023 11:41
August 16, 2014 21:40
June 30, 2020 08:47
July 24, 2014 16:10

PHPCR ODM for Doctrine2

Build Status Latest Stable Version Total Downloads



Please refer to for the documentation.


Pull requests are welcome. Please include tests to prevent regressions whenever possible.

Thanks to everyone who has contributed already.

Running the tests

This examples shows how to run the tests for jackrabbit. You can run the tests for the other backends. Just replace jackrabbit with the name of the backend you want to run.

  1. Make sure you have installed the dependencies that can't be installed with Composer (e.g. when running, install MySQL). Do not run composer install, it will not work because phpcr-odm requires virtual packages that change depending on the backend you want to test.

  2. Run this command to download jackrabbit and launch it (requires wget)


Please note that this will also require implementations for virtual packages that match the backend you want to test, resulting in a change in your composer.json. Make sure you do not check in this change into version control.

  1. Run the tests:

    phpunit -c tests/phpunit_jackrabbit.xml.dist