PHPackages                             cimrie/slick - 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/slick

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

cimrie/slick
============

Fluent ODM Metadata Builder for cimrie/odm, the FW Integration package for Doctrine MongoDB ODM.

v0.2.17(9y ago)038MITPHP

Since Jan 29Pushed 9y ago1 watchersCompare

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

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

slick
=====

[](#slick)

Doctrine ODM Fluent Metadata Class Implementation. Inspired by laravel-doctrine/fluent. Integrates seamlessly with cimrie/odm.

Laravel Setup
=============

[](#laravel-setup)

Add `CImrie\Slick\SlickServiceProvider::class` to the 'providers' section of `config/app.php`. Follow the instructions for cimrie/odm.

In `config/odm.php` set 'meta' to `CImrie\Slick\Mapping\SlickDriver::class`For each manager in `config/odm.php` specify a `'mappings'` array like so:

```
