PHP Package: doctrine/mongodb

The doctrine/mongodb library provides seamless integration for MongoDB in PHP applications, offering high performance and scalability.

Current Version: 1.6.4
Last Updated: 2019-07-11
PHP Requirement: ^5.6 || ^7.0
Dependencies:
doctrine/mongodb-odm
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Doctrine MongoDB is a powerful and efficient library for working with MongoDB databases in PHP projects. It simplifies database operations, ensures data integrity, and enhances overall application performance. With Doctrine MongoDB, developers can leverage the flexibility and speed of MongoDB while maintaining the benefits of object-oriented programming.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.6.4

Download Download v1.6.4

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

use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\ODM\MongoDB\Configuration;

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