Latest commit f2345d0 Sep 1, 2018
Permalink
Failed to load latest commit information.
benchmarks apply fixes from styleci Dec 18, 2017
bin apply fixes from styleci Dec 18, 2017
docs
lib/Doctrine/ODM/PHPCR Removing license header (#775) Dec 26, 2017
release Integrate release tool and fix current released version information. fix Oct 19, 2013
tests Use dedicated PHPUnit assertions Mar 17, 2018
.doctrine-project.json Add .doctrine-project.json to root of the project. Aug 31, 2018
.gitignore Hopefully properly reverted .gitignore this time. Nov 25, 2012
.rmt.yml add allow-label to RMT config Aug 16, 2014
.styleci.yml Combine consecutive unsets Dec 19, 2017
.travis.yml do not ignore 'each' deprecation and upgrade to phpunit 6 (#769) Dec 12, 2017
CHANGELOG.md Merge remote-tracking branch 'origin/1.4' Jan 31, 2018
LICENSE changed license from LGPL to MIT May 11, 2012
README.md
RMT
cli-config.doctrine_dbal.php.dist
cli-config.jackrabbit.php.dist
composer.json Update homepage Aug 31, 2018
doctrine-phpcr-odm-mapping.xsd Support child restriction and leaf status Jun 20, 2016
phpbench.json.dist Fixed PHPBench column name Sep 24, 2016

README.md

PHPCR ODM for Doctrine2

Build Status Latest Stable Version Total Downloads

Requirements

Documentation

Please refer to doctrine-project.org for the documentation.

Contributing

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 travis_doctrine_dbal.sh, 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)

    ./tests/travis_jackrabbit.sh

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