PHPackages                             nordsoftware/lumen-doctrine-mongodb-odm - 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. nordsoftware/lumen-doctrine-mongodb-odm

AbandonedArchivedLibrary

nordsoftware/lumen-doctrine-mongodb-odm
=======================================

Doctrine MongoDB ODM module for the Lumen PHP framework.

1.5.2(8y ago)164.3k9[3 issues](https://github.com/nordsoftware/lumen-doctrine-mongodb-odm/issues)[1 PRs](https://github.com/nordsoftware/lumen-doctrine-mongodb-odm/pulls)MITPHP

Since Aug 4Pushed 7y ago11 watchersCompare

[ Source](https://github.com/nordsoftware/lumen-doctrine-mongodb-odm)[ Packagist](https://packagist.org/packages/nordsoftware/lumen-doctrine-mongodb-odm)[ RSS](/packages/nordsoftware-lumen-doctrine-mongodb-odm/feed)WikiDiscussions develop Synced 1mo ago

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

Lumen Doctrine MongoDB ODM
==========================

[](#lumen-doctrine-mongodb-odm)

[Doctrine MongoDB ODM](http://www.doctrine-project.org/projects/mongodb-odm.html) module for the [Lumen PHP framework](http://lumen.laravel.com/).

Requirements
------------

[](#requirements)

- PHP &gt;= 5.5

Usage
-----

[](#usage)

### Install through Composer

[](#install-through-composer)

Run the following command to install the package:

```
composer require nordsoftware/lumen-doctrine-mongodb-odm
```

### Register the Service Provider

[](#register-the-service-provider)

Add the following line to `bootstrap/app.php`:

```
$app->register('Nord\Lumen\Doctrine\ODM\MongoDB\DoctrineServiceProvider');
```

You can now use the `DocumentManager` facade where needed.

### Configure

[](#configure)

Create `config/odm.php` into `config` and modify according to your needs. Check base class under `src/Config/Config.php`

Example of `config/mongodb.php`

```
