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

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

plemi/boomgo-bundle
===================

Bundle for Boomgo the lightweight PHP ODM for MongoDB

18PHP

Since Jul 8Pushed 13y ago2 watchersCompare

[ Source](https://github.com/Plemi/PlemiBoomgoBundle)[ Packagist](https://packagist.org/packages/plemi/boomgo-bundle)[ RSS](/packages/plemi-boomgo-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PlemiBoomgoBundle
=================

[](#plemiboomgobundle)

This bundle provides Symfony2 integration for [Boomgo](https://github.com/Retentio/Boomgo) : it's a lightweight and simple datamapper for **PHP** and **MongoDB**.

[![Build Status](https://camo.githubusercontent.com/955ce7efdc9e53f4e944db241240f35470450334e480fdc479b13e5378fe4532/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f506c656d692f506c656d69426f6f6d676f42756e646c652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/Plemi/PlemiBoomgoBundle)

Gentle introduction
-------------------

[](#gentle-introduction)

What you could find in this bundle :

- a *manager* to ease the use of Repository class defined as a public service (DIC FTW)
- *console commands* that will generate Mapper and Repository from your Document annoted classes

Symfony2 developers, reviews and pull requests are welcomed !

How to install ?
----------------

[](#how-to-install-)

Prefered way is using [Composer](http://getcomposer.org/) as it also downloads dependencies and have a built-in autoloader. At your project root level, create/update a composer.json file with :

```
{
  "require": {
    "plemi/boomgo-bundle": "dev-master"
  }
}
```

Otherwise, you can use **Git** directly with cloning in your vendor directory both Boomgo and PlemiBoomgoBundle, but as you've done that before and as there's plenty of a examples, we won't describe it here.

Here are the 2 namespaces that you have to register in your `autoloader` :

```
