Registry / orm / doctrine-phpcr-odm

doctrine-phpcr-odm

JSON →
library3.0.0phppackagistunverified

PHP Doctrine Content Repository Object Document Mapper (ODM) provides transparent persistence for PHP objects.

composer require doctrine/phpcr-odm
INSTALL
IMPORT
SIG · DOCTRINE-PHPCR-ODM
D
doctrine-phpcr-odm
ormphpv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DocumentManager
use Doctrine\ODM\PHPCR\DocumentManager;

Persist a document to a PHPCR content repository.

use Doctrine\ODM\PHPCR\DocumentManager; $dm = DocumentManager::create($session); $user = new User(); $user->setUsername('john'); $dm->persist($user); $dm->flush();
Debug
Known issues
gotchaRequires a PHPCR implementation (e.g., Jackalope) and a compatible backend.
fix
Install and configure a PHPCR backend like Jackalope-Doctrine-DBAL.
affects: *
Upgrade
Version history
3.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
46 hits · last 30 days
node
40
Resources
doctrine-phpcr-odm — pip install doctrine-phpcr-odm · libregistry