Weave 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, bringing Doctrine-style object-document mapping, unit of work, and repositories to PHP content management systems. It supports hierarchical, versioned content storage and integrates with Jackrabbit and Doctrine DBAL implementations.

View on GitHub
Deep Wiki
Context7

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:
        tests/script_jackrabbit.sh
    
  2. Require the PHPCR implementation:
         composer require jackalope/jackalope-jackrabbit --no-update
    
  3. Now you can install all dependencies with:
        composer install
    
  4. Now you can run the tests:
    vendor/bin/phpunit -c tests/phpunit_jackrabbit.xml.dist
    
    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:
        tests/script_doctrine_dbal.sh
    
  2. Require the PHPCR implementation
        composer require jackalope/jackalope-doctrine-dbal --no-update
    
  3. Now you can install all dependencies with:
        composer install
    
  4. Now you can run the tests:
    vendor/bin/phpunit -c tests/phpunit_doctrine_dbal.xml.dist
    
    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.
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.
vento/laravel-airbrake
wfeller/laravel-batch
maco-studios/mage-os-installer
busarm/armie
siberfx/laravel-logger
kfteam1991/dcat-admin
dashed/dashed-laposta
dashed/dashed-ecommerce-montaportal
dashed/dashed-ecommerce-etsy
neohq/string-blade-compiler
log1x/acf-composer
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core
nodisrupt/laravel-agent
sierratecnologia/media-manager