PHPackages                             cimrie/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. [Database &amp; ORM](/categories/database)
4. /
5. cimrie/odm

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

cimrie/odm
==========

Doctrine MongoDB ODM integration with Laravel. Aim to be interoperable with other frameworks.

v0.2.10(9y ago)24711MITPHP

Since Jan 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/CImrie/odm)[ Packagist](https://packagist.org/packages/cimrie/odm)[ Docs](https://github.com/CImrie/odm)[ RSS](/packages/cimrie-odm/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (9)Versions (17)Used By (1)

cimrie/odm
==========

[](#cimrieodm)

This is a package to help integrate The Doctrine MongoDb ODM into any framework of your choice. The only caveat at the moment is that by defining a cache provider, you are declaring that you use Laravel. If you use another framework, you will need to implement your own caching solution.

Laravel Setup
-------------

[](#laravel-setup)

Go to `config/app.php` and add the service provider to your `'providers'` section: `CImrie\Odm\OdmServiceProvider::class`

Publish the configuration file: `php artisan vendor:publish --tag=odm`

You can now use the default Document Manager like so:

```
