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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phpcr-odm

PHPCR ODM for Doctrine

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

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

  1. Make sure you have java and wget installed, then run this script to install and start jackrabbit:

  2. Require the PHPCR implementation:

  3. Now you can install all dependencies with:

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

  1. For doctrine-dbal, make sure that MySQL is installed. If the connection parameters in cli-config.doctrine_dbal.php.dist are not correct, manually create cli-config.php and adjust the options as needed. Then run the script to initialize the repository in the database:

  2. Require the PHPCR implementation

  3. Now you can install all dependencies with:

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

PHP Build Version
Package Version
Requires php Version ^8.1
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package doctrine/phpcr-odm contains the following files

Loading the files please wait ....