navruzm/lmongo

This package is abandoned and no longer maintained. No replacement package was suggested.

MongoDB Package for Laravel 4.

Installs: 25 990

Dependents: 4

Suggesters: 0

Security: 0

Stars: 125

Watchers: 23

Forks: 40

v1.0.0-beta 2013-01-15 21:46 UTC

This package is not auto-updated.

Last update: 2020-01-24 14:52:41 UTC


README

LMongo is MongoDB package for Laravel 4.

Installation

Add navruzm/lmongo as a requirement to composer.json:

{
    "require": {
        "navruzm/lmongo": "*@dev"
    }
}

And then run composer update

Once Composer has installed or updated your packages you need to register LMongo. Open up app/config/app.php and find the providers key and add:

'LMongo\LMongoServiceProvider'

Then find the aliases key and add following line to the array:

'LMongo'          => 'LMongo\Facades\LMongo',
'EloquentMongo'   => 'LMongo\Eloquent\Model',

Finally you need to publish a configuration file by running the following Artisan command.

$ php artisan config:publish navruzm/lmongo

This will copy the default configuration file to app/config/packages/navruzm/lmongo/config.php

Documentation

View the official documentation