PHPackages                             pouzor/mongodbbundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. pouzor/mongodbbundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

pouzor/mongodbbundle
====================

MongoDB Symfony Bundle. This bundle allow you to use in the easiest and fastest way MongoDB in your project with the new php driver (Support php &gt;=5.4 and php 7.x). It's not an ODM

0.1.4(9y ago)22.5kMITPHPPHP &gt;=5.4.0

Since Dec 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Pouzor/mongoDBBundle)[ Packagist](https://packagist.org/packages/pouzor/mongodbbundle)[ RSS](/packages/pouzor-mongodbbundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (8)Versions (6)Used By (0)

Pouzor MongoDB Bundle
=====================

[](#pouzor-mongodb-bundle)

[![Build Status](https://camo.githubusercontent.com/d44148228ea2f854a35c71794210ea2a5021c71f234cb99fc9aed124dca15bb5/68747470733a2f2f7472617669732d63692e6f72672f506f757a6f722f6d6f6e676f444242756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Pouzor/mongoDBBundle) [![Code Coverage](https://camo.githubusercontent.com/5aaca95b843f6f7fc744b3e7a35f66df244256e6a969bcddd8fca73589656386/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f506f757a6f722f6d6f6e676f444242756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Pouzor/mongoDBBundle/?branch=master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/6e86a355159ac9e5bed82b474bbb426cc76ea4a5fa460fc42b3ff32b05c6fb49/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f506f757a6f722f6d6f6e676f444242756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Pouzor/mongoDBBundle/?branch=master)

MongoDBBundle is the easiest and fastest way to integrate MongoDB in your project with the new php driver (Support php &gt;=5.4 and php 7.x).

It's not an ODM : you don't need to declare all your data model. You will work with array object same as you can get/set in mongoDB (after json encode/decode)

#### /!\\ This bundle is only working with mongodb.so driver.

[](#-this-bundle-is-only-working-with-mongodbso-driver)

For the legacy driver (mongo.so), please check \[Pouzor/MongoBundle\] ()

It use mongodb.so +

### Usage

[](#usage)

When the bundle is configured, you can access to the mongo manager service, who provide acces to Repository Service (aka Mongo collection manager). Then, is pretty easy to request this Repository

```
//document.manager.my_project is specific mongodb (db, host, port...) configuration in app/config/config.yml
$manager = $this->getContainer()->get('document.manager.my_project');

$repository = $manager->getRepository('User');

$user = $repository->find($id);
$users = $repository->findBy(['location' => "Paris"]);

$repository->deleteMany(['gift' => ['$lte' => 0]]);
```

### Documentation

[](#documentation)

1. \[Installation + configuration\] (Resources/doc/install.md). Documentation about installation and configuration features.
2. \[How to use\] (Resources/doc/how-to-use.md). How to use mongodbbundle in your symfony project

### Contribution

[](#contribution)

- Thx to Ibrael Espinosa for the huge contribution to this bundle.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~14 days

Total

5

Last Release

3375d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b75df2788a3fbf0a5c47b9937232585902b7be97e3df65b137ea7d56d7c2cdef?d=identicon)[Pouzor](/maintainers/Pouzor)

---

Top Contributors

[![Pouzor](https://avatars.githubusercontent.com/u/961315?v=4)](https://github.com/Pouzor "Pouzor (35 commits)")

---

Tags

drivermongodbodmsymfonysymfony-bundlesymfonymongodbmongomongodbbundle

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pouzor-mongodbbundle/health.svg)

```
[![Health](https://phpackages.com/badges/pouzor-mongodbbundle/health.svg)](https://phpackages.com/packages/pouzor-mongodbbundle)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[mmucklo/queue-bundle

Symfony2/3/4/5 Queue Bundle (for background jobs) supporting Mongo (Doctrine ODM), Mysql (and any Doctrine ORM), RabbitMQ, Beanstalkd, Redis, and ... {write your own}

120839.8k](/packages/mmucklo-queue-bundle)[moloquent/moloquent

A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)

120114.6k7](/packages/moloquent-moloquent)[denchikby/phalcon-mongodb-odm

Phalcon MongoDB ODM

4212.8k](/packages/denchikby-phalcon-mongodb-odm)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
