PHPackages                             facile-it/mongodb-bundle - 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. facile-it/mongodb-bundle

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

facile-it/mongodb-bundle
========================

Bundle service integration of official \[mongodb/mongo-php-library\](https://github.com/mongodb/mongo-php-library) driver library

2.0.0(5mo ago)38231.7k↓42.5%22[5 issues](https://github.com/facile-it/mongodb-bundle/issues)[2 PRs](https://github.com/facile-it/mongodb-bundle/pulls)1MITPHPPHP ^8.1CI passing

Since Sep 1Pushed 1w ago26 watchersCompare

[ Source](https://github.com/facile-it/mongodb-bundle)[ Packagist](https://packagist.org/packages/facile-it/mongodb-bundle)[ RSS](/packages/facile-it-mongodb-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (19)Versions (67)Used By (1)

Facile.it MongoDB Bundle
========================

[](#facileit-mongodb-bundle)

This bundle integrates the official [mongodb/mongo-php-library](https://github.com/mongodb/mongo-php-library) driver library ([mongodb/mongodb](https://packagist.org/packages/mongodb/mongodb) on packagist) with your Symfony app.

[![PHP](https://camo.githubusercontent.com/acffb6ae1962992d26e4466782832787e79504a6250f80d732c4283458b9f497/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e312d626c75652e737667)](https://img.shields.io/badge/php-%5E8.1-blue.svg)[![MongoDB](https://camo.githubusercontent.com/a45e1ef54e75911876b4787d997749413397011c1bd0780e1401786aa88eb5db/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6f6e676f44422d253545352e302d6c69676874677265792e737667)](https://img.shields.io/badge/MongoDB-%5E5.0-lightgrey.svg)[![ext-mongodb](https://camo.githubusercontent.com/bef6350d5f54ea0bf304832cd3bc8d0f2d6ae05b7a6bd9984c3ec69cf8b23a11/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6578745f6d6f6e676f64622d253545312e31322e30253743253545322e302d6f72616e67652e737667)](https://img.shields.io/badge/ext_mongodb-%5E1.12.0%7C%5E2.svg)![Flex Support](https://camo.githubusercontent.com/ac54be182fc8b2879b4e7b4f4d350da3731c9cfafa8c205511de046f40c77433/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f466c65782d737570706f727465642d627269676874677265656e2e737667)

[![Latest Stable Version](https://camo.githubusercontent.com/337b4ad8bcb6902ded302d93694d901f1f75e5dcc117d324767f6900cd6cbf28/68747470733a2f2f706f7365722e707567782e6f72672f666163696c652d69742f6d6f6e676f64622d62756e646c652f762f737461626c65)](https://packagist.org/packages/facile-it/mongodb-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/86457b90733da8d13af6c014ac2401b9c25acc3f2c47d6ef04aa413c3f12a135/68747470733a2f2f706f7365722e707567782e6f72672f666163696c652d69742f6d6f6e676f64622d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/facile-it/mongodb-bundle) [![Total Downloads](https://camo.githubusercontent.com/c71e36dc3a0eee242f55caa799f912a90bee96f3d63f869bed7b258b035a6922/68747470733a2f2f706f7365722e707567782e6f72672f666163696c652d69742f6d6f6e676f64622d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/facile-it/mongodb-bundle)[![License](https://camo.githubusercontent.com/92bc51758f42aef85667025006e5d3bbd6d885c17a945f0e6d0b92851ae376e1/68747470733a2f2f706f7365722e707567782e6f72672f666163696c652d69742f6d6f6e676f64622d62756e646c652f6c6963656e7365)](https://packagist.org/packages/facile-it/mongodb-bundle)

[![CI](https://github.com/facile-it/mongodb-bundle/actions/workflows/ci.yaml/badge.svg)](https://github.com/facile-it/mongodb-bundle/actions/workflows/ci.yaml)[![Static analysis](https://github.com/facile-it/mongodb-bundle/actions/workflows/static-analysis.yaml/badge.svg)](https://github.com/facile-it/mongodb-bundle/actions/workflows/static-analysis.yaml)[![codecov](https://camo.githubusercontent.com/d05a5cc2cf0a216b5f934acbde99e7da4b1f366294d08e3994c2b78d0aa2fd8a/68747470733a2f2f636f6465636f762e696f2f67682f666163696c652d69742f6d6f6e676f64622d62756e646c652f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d6745687643746556376b)](https://codecov.io/gh/facile-it/mongodb-bundle)

Features
--------

[](#features)

- Provide instances of `MongoDB\Database` as [services](docs/Documentation.md#database-as-a-service) for your Symfony app.
- Add a [query profiling](docs/Documentation.md#query-profiling) section to the profiler toolbar.
- Capability for loading [data fixtures](docs/Documentation.md#fixtures).

Try it now!

```
composer require facile-it/mongodb-bundle

```

Resources
---------

[](#resources)

- [Documentation](docs/Documentation.md)
- [Upgrading notes](docs/Upgrade.md)
- [Contribution guidelines](docs/Contributing.md)

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance83

Actively maintained with recent releases

Popularity48

Moderate usage in the ecosystem

Community33

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~68 days

Recently: every ~116 days

Total

51

Last Release

170d ago

Major Versions

0.7.4 → 1.0.0-ALPHA12019-08-02

1.8.0 → 2.0.02026-01-14

PHP version history (6 changes)0.1PHP ^7.0

1.0.0-ALPHA1PHP ^7.1

1.0.0-ALPHA2PHP ^7.2

1.4.0PHP ^7.2 || ^8.0

1.6.0PHP ^7.4 || ^8.0

1.8.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6729988?v=4)[Alessandro Lai](/maintainers/Jean85)[@Jean85](https://github.com/Jean85)

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

![](https://www.gravatar.com/avatar/907e0b1752610a3cf00ef5d5a1535b02a911647e36a1bea93cc282eeaea6ced5?d=identicon)[ilario-pierbattista](/maintainers/ilario-pierbattista)

---

Top Contributors

[![Algatux](https://avatars.githubusercontent.com/u/888864?v=4)](https://github.com/Algatux "Algatux (84 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (80 commits)")[![ilario-pierbattista](https://avatars.githubusercontent.com/u/987038?v=4)](https://github.com/ilario-pierbattista "ilario-pierbattista (60 commits)")[![Jean85](https://avatars.githubusercontent.com/u/6729988?v=4)](https://github.com/Jean85 "Jean85 (33 commits)")[![alexmanno](https://avatars.githubusercontent.com/u/10499850?v=4)](https://github.com/alexmanno "alexmanno (4 commits)")[![starred-gijs](https://avatars.githubusercontent.com/u/42832118?v=4)](https://github.com/starred-gijs "starred-gijs (3 commits)")[![siuvdlec](https://avatars.githubusercontent.com/u/3308486?v=4)](https://github.com/siuvdlec "siuvdlec (2 commits)")[![Dameon87](https://avatars.githubusercontent.com/u/539675?v=4)](https://github.com/Dameon87 "Dameon87 (2 commits)")[![garak](https://avatars.githubusercontent.com/u/179866?v=4)](https://github.com/garak "garak (1 commits)")[![guidopili](https://avatars.githubusercontent.com/u/11429525?v=4)](https://github.com/guidopili "guidopili (1 commits)")[![bruno-buiret](https://avatars.githubusercontent.com/u/9548188?v=4)](https://github.com/bruno-buiret "bruno-buiret (1 commits)")[![antoniojlm84](https://avatars.githubusercontent.com/u/5647673?v=4)](https://github.com/antoniojlm84 "antoniojlm84 (1 commits)")[![mhvis](https://avatars.githubusercontent.com/u/2572980?v=4)](https://github.com/mhvis "mhvis (1 commits)")[![phleauran](https://avatars.githubusercontent.com/u/183823038?v=4)](https://github.com/phleauran "phleauran (1 commits)")[![salvatorecordiano](https://avatars.githubusercontent.com/u/2036080?v=4)](https://github.com/salvatorecordiano "salvatorecordiano (1 commits)")[![steveWinter](https://avatars.githubusercontent.com/u/1171712?v=4)](https://github.com/steveWinter "steveWinter (1 commits)")[![Vegeeto](https://avatars.githubusercontent.com/u/17855791?v=4)](https://github.com/Vegeeto "Vegeeto (1 commits)")[![wmozejkostp](https://avatars.githubusercontent.com/u/153089363?v=4)](https://github.com/wmozejkostp "wmozejkostp (1 commits)")[![djgxp](https://avatars.githubusercontent.com/u/15523229?v=4)](https://github.com/djgxp "djgxp (1 commits)")[![duxet](https://avatars.githubusercontent.com/u/821707?v=4)](https://github.com/duxet "duxet (1 commits)")

---

Tags

databasehacktoberfestmongodbphpsymfony-bundlesymfonydatabasemongodb

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/facile-it-mongodb-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/facile-it-mongodb-bundle/health.svg)](https://phpackages.com/packages/facile-it-mongodb-bundle)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M96](/packages/mongodb-laravel-mongodb)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[omines/datatables-bundle

Symfony DataTables Bundle with native Doctrine ORM, Elastica and MongoDB support

2841.5M6](/packages/omines-datatables-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

9410.8k](/packages/ahmed-bhs-doctrine-doctor)[doesntmattr/mongodb-migrations-bundle

Symfony MongoDBMigrationsBundle

23487.9k1](/packages/doesntmattr-mongodb-migrations-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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