PHPackages                             mongator/mongator-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. mongator/mongator-bundle

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

mongator/mongator-bundle
========================

Bundle to use Mongator with Symfony2

v1.1.1(11y ago)0651MITPHPPHP &gt;=5.3.3

Since Sep 18Pushed 11y ago1 watchersCompare

[ Source](https://github.com/dario1985/mongator-bundle)[ Packagist](https://packagist.org/packages/mongator/mongator-bundle)[ RSS](/packages/mongator-mongator-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

[![Mongator Symfony Bundle](https://camo.githubusercontent.com/4eb55c17c4965f2ea7363e811f04b67f89c5e8a6b7a93d9396256faf5d7f62e8/687474703a2f2f7332332e706f7374696d672e6f72672f7532676d727075356e2f6d6f6e6761746f725f62756e646c652e706e67)](https://camo.githubusercontent.com/4eb55c17c4965f2ea7363e811f04b67f89c5e8a6b7a93d9396256faf5d7f62e8/687474703a2f2f7332332e706f7374696d672e6f72672f7532676d727075356e2f6d6f6e6761746f725f62756e646c652e706e67)

\#Mongator Bundle [![Build Status](https://camo.githubusercontent.com/53f71ab17cdf3492ecb9ca8daace6869c8da68c7787e58e78a688528c4bd81b9/68747470733a2f2f7472617669732d63692e6f72672f646172696f313938352f6d6f6e6761746f722d62756e646c652e706e67)](https://travis-ci.org/dario1985/mongator-bundle) [![Coverage Status](https://camo.githubusercontent.com/202dc8efd763e30cac7d2780c3123f7060d9963e93228855cb32b7d51e372f91/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f646172696f313938352f6d6f6e6761746f722d62756e646c652f62616467652e706e67)](https://coveralls.io/r/dario1985/mongator-bundle)

Bundle to use Mongator ODM with Symfony2 (forked from MandangoBundle).

Getting started
---------------

[](#getting-started)

### Installation

[](#installation)

To install mongator-bundle with Composer, just add the following to your composer.json file:

```
// composer.json
{
    "require": {
        "mongator/mongator-bundle": "1.1.*"
    }
}
```

Then update the dependency

```
$ php composer.phar update mongator/mongator-bundle
```

Or you can do this in one command:

```
$ php composer.phar require mongator/mongator-bundle:1.1.*
```

### Enable the bundle

[](#enable-the-bundle)

You need to register the bundle in AppKernel:

```
    // app/AppKernel.php

    class AppKernel extends Kernel
    {
        // ...

        public function registerBundles()
        {
            $bundles = array(
                // ...,
                new Mongator\MongatorBundle\MongatorBundle()
            );

            // ...
        }
    }
```

### Configure Mongator

[](#configure-mongator)

Add Mongator to your configuration:

```
# app/config/config.yml
mongator:
    default_connection: local
    connections:
        local:
            server:   mongodb://localhost:27017
            database: symfony2_local_%kernel.environment%
```

Activate the profiler in the developing environment:

```
# app/config/config_dev.yml
mongator:
    logging: true
```

Documentation
-------------

[](#documentation)

See the documentation in

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 74.6% 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 ~310 days

Total

3

Last Release

4371d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/207400535?v=4)[dario1985](/maintainers/dario1985)[@Dario1985](https://github.com/Dario1985)

---

Top Contributors

[![pablodip](https://avatars.githubusercontent.com/u/98504?v=4)](https://github.com/pablodip "pablodip (47 commits)")[![dariomncs](https://avatars.githubusercontent.com/u/495006?v=4)](https://github.com/dariomncs "dariomncs (10 commits)")[![richsage](https://avatars.githubusercontent.com/u/231551?v=4)](https://github.com/richsage "richsage (4 commits)")[![florynth](https://avatars.githubusercontent.com/u/1123993?v=4)](https://github.com/florynth "florynth (1 commits)")[![johnwards](https://avatars.githubusercontent.com/u/34269?v=4)](https://github.com/johnwards "johnwards (1 commits)")

---

Tags

mongodbmongator

### Embed Badge

![Health badge](/badges/mongator-mongator-bundle/health.svg)

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

###  Alternatives

[friendsofsymfony/elastica-bundle

Elasticsearch PHP integration for your Symfony project using Elastica

1.3k17.2M47](/packages/friendsofsymfony-elastica-bundle)[doctrine/mongodb-odm-bundle

Symfony Doctrine MongoDB Bundle

38418.7M195](/packages/doctrine-mongodb-odm-bundle)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[omines/datatables-bundle

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

2851.4M6](/packages/omines-datatables-bundle)[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)[facile-it/mongodb-bundle

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

38212.1k1](/packages/facile-it-mongodb-bundle)

PHPackages © 2026

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