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

ActiveLibrary[Database &amp; ORM](/categories/database)

plansky/mongolid-bundle
=======================

Easy, powerful and ultrafast MongoDB ODM Bundle for Symfony.

v0.1-beta(11y ago)013[1 issues](https://github.com/rplansky/mongolid-bundle/issues)MITPHPPHP &gt;=5.3

Since Aug 12Pushed 11y ago1 watchersCompare

[ Source](https://github.com/rplansky/mongolid-bundle)[ Packagist](https://packagist.org/packages/plansky/mongolid-bundle)[ Docs](https://www.github.com/rplansky/mongolid-bundle)[ RSS](/packages/plansky-mongolid-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

[![MongoLid](https://camo.githubusercontent.com/da4dc03c8b089ca6b8f8c574347511e987be66884790c1554d9f2de513c928bc/68747470733a2f2f646c2e64726f70626f7875736572636f6e74656e742e636f6d2f752f31323530363133372f6c6962735f62756e646c65732f6d6f6e676f6c69645f62616e6e65722e706e67)](https://camo.githubusercontent.com/da4dc03c8b089ca6b8f8c574347511e987be66884790c1554d9f2de513c928bc/68747470733a2f2f646c2e64726f70626f7875736572636f6e74656e742e636f6d2f752f31323530363133372f6c6962735f62756e646c65732f6d6f6e676f6c69645f62616e6e65722e706e67)

MongoLid Bundle for Symfony
===========================

[](#mongolid-bundle-for-symfony)

MongoLid is an easy, powerful and ultrafast MongoDB ODM. You can see more information in the [MongoLid Laravel Package](https://github.com/leroy-merlin-br/mongolid-laravel)

Getting Started
---------------

[](#getting-started)

### Installation

[](#installation)

Add `"plansky/mongolid-bundle": "dev-master"` to "require" key in `composer.json`

```
"require": {
    ...
    "plansky/mongolid-bundle": "dev-master"
}
```

Run `composer update plansky/mongolid-bundle`

### Bundle Registration

[](#bundle-registration)

Register **MongolidBundle** in `AppKernel` class

```
$bundles = array(
    ...
    new Plansky\MongolidBundle\MongolidBundle(),
);
```

### Configure MongoDB Connection

[](#configure-mongodb-connection)

Edit `app/config/config.yml` file adding the MongoDB connection

```
mongolid:
    connections:
        default:
            hostname: 'localhost'
            port: 27017
            username: null
            password: null
            database: 'mongolid'
```

### Extends BaseDocument

[](#extends-basedocument)

To start using MongoLid just extends `Plansky\MongolidBundle\Document\BaseDocument`

```
class MyDocument extends \Plansky\MongolidBundle\Document\BaseDocument
{
    /**
     * Collection's that will be used to persist my document
     * @var string
     */
    protected $collection = 'my_collection';
}
```

**Enjoy =)**

License
-------

[](#license)

MIT

Resources
---------

[](#resources)

- [Mongolid](https://github.com/leroy-merlin-br/mongolid)
- [Mongolid Laravel Package](https://github.com/leroy-merlin-br/mongolid-laravel) (with detailed documentation):

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

4344d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/564194d2a45641b54ac5d6754e95394dfd0bc6fe649476e89e2e709bd5a89bbb?d=identicon)[rplansky](/maintainers/rplansky)

---

Top Contributors

[![rplansky](https://avatars.githubusercontent.com/u/572653?v=4)](https://github.com/rplansky "rplansky (25 commits)")

---

Tags

databasenosqlodmmongodb

### Embed Badge

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

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

###  Alternatives

[sokil/php-mongo

PHP Object Document Mapper for MongoDB

239167.9k9](/packages/sokil-php-mongo)[leroy-merlin-br/mongolid-laravel

Easy, powerful and ultrafast MongoDB ODM for Laravel.

23928.4k3](/packages/leroy-merlin-br-mongolid-laravel)[leroy-merlin-br/mongolid

Easy, powerful and ultrafast ODM for PHP and MongoDB.

11335.7k9](/packages/leroy-merlin-br-mongolid)[f21/paradox

Paradox is an elegant Object Document Mananger (ODM) to use with the ArangoDB Document/Graph database server.

256.8k](/packages/f21-paradox)

PHPackages © 2026

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