Download the PHP package doctrine/phpcr-odm without Composer
On this page you can find all versions of the php package doctrine/phpcr-odm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package phpcr-odm
PHPCR ODM for Doctrine
Requirements
- libxml version >= 2.7.0 (due to a bug in libxml http://bugs.php.net/bug.php?id=36501)
- composer
- See also the
require
section of composer.json
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
There are separate test setups for the doctrine-dbal
and the jackrabbit
PHPCR implementations.
Before installing the composer dependencies, you will need to prepare the database for storage and
choose a phpcr/phpcr-implementation
.
Doing so will change the composer.json
file - please make sure you do not check in this change
into version control.
Setting up to test with Jackrabbit
-
Make sure you have
java
andwget
installed, then run this script to install and start jackrabbit: -
Require the PHPCR implementation:
-
Now you can install all dependencies with:
-
Now you can run the tests:
You can also copy the phpunit dist file to
./phpunit.xml
to have it selected by default, or if you need to customize any configuration options.
Setting up to test with Doctrine-DBAL
-
For
doctrine-dbal
, make sure that MySQL is installed. If the connection parameters incli-config.doctrine_dbal.php.dist
are not correct, manually createcli-config.php
and adjust the options as needed. Then run the script to initialize the repository in the database: -
Require the PHPCR implementation
-
Now you can install all dependencies with:
-
Now you can run the tests:
You can also copy the phpunit dist file to
./phpunit.xml
to have it selected by default, or if you need to customize any configuration options.
All versions of phpcr-odm with dependencies
doctrine/collections Version ^2.0
doctrine/common Version ^2.4 || ^3.0
doctrine/data-fixtures Version ^1.0
doctrine/event-manager Version ^1.0 || ^2.0
doctrine/persistence Version ^3.0
phpcr/phpcr Version ^2.1.1
phpcr/phpcr-implementation Version ^2.1
phpcr/phpcr-utils Version ^1.3.0 || ^2.0
doctrine/instantiator Version ^1.0.1 || ^2.0
symfony/console Version ^3.4 || ^4.3 || ^5.0 || ^6.0 || ^7.0
psr/cache Version ^1.0 || ^2.0 || ^3.0