PHP Package: doctrine/mongodb-odm

A powerful PHP library for seamless MongoDB object-document mapping in applications, providing high-performance data manipulation capabilities.

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

Package Description

The doctrine/mongodb-odm library enables developers to effortlessly map PHP objects to MongoDB documents, offering a robust solution for agile data management. With a plethora of features and optimizations, this library streamlines the development process and enhances performance.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.11.2

Download Download v2.11.2

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/mongodb-odm/2.11.2/loader.php';
require_once 'libs/doctrine/mongodb/1.6.4/loader.php';

use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\ODM\MongoDB\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.