navruzm/laravel-mongo-auth

MongoDB Auth Driver for Laravel 4

Installs: 1 668

Dependents: 0

Stars: 21

Watchers: 4

Forks: 8

Language: PHP

v1.0.0-beta 2013-01-17 19:55 UTC

README

MongoDB Authentication driver for Laravel 4.

Add navruzm/laravel-mongo-auth as a requirement to composer.json:

{
    "require": {
        "navruzm/laravel-mongo-auth": "*"
    }
}

And then run composer update

Once Composer has updated your packages open up app/config/app.php and change Illuminate\Auth\AuthServiceProvider to MongoAuth\MongoAuthServiceProvider and Illuminate\Auth\Reminders\ReminderServiceProvider to MongoAuth\Reminders\ReminderServiceProvider.

Then open app/config/auth.php and find the driver key and change to mongo.