PHP Package: doctrine/phpcr-odm

PHP Content Repository Object-Document Mapper (ODM) library for seamless integration, simplifying database interaction and management.

Current Version: 2.1.0
Last Updated: 2025-09-23
PHP Requirement: ^8.1
Dependencies:
doctrine/phpcr
doctrine/common
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The PHPCR-ODM library is a powerful tool for developers looking to bridge the gap between document-oriented structures and relational databases. With seamless integration and a robust feature set, this library streamlines database interaction and management, providing a versatile solution for modern PHP projects. Leveraging the power of Object-Document Mapping, PHPCR-ODM enables developers to build efficient, scalable applications with ease and flexibility.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.1.0

Download Download v2.1.0

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/doctrine/phpcr-odm/2.1.0/loader.php';
require_once 'libs/doctrine/phpcr/{lib_version}/loader.php';
require_once 'libs/doctrine/common/3.5.0/loader.php';

use Doctrine\ODM\PHPCR\DocumentManager;
use Doctrine\ODM\PHPCR\DocumentRepository;

$obj = new DocumentManager();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.