navruzm / laravel-mongo-auth
MongoDB Auth Driver for Laravel 4
Installs: 1 867
Dependents: 0
Suggesters: 0
Security: 0
Stars: 20
Watchers: 4
Forks: 9
Open Issues: 0
pkg:composer/navruzm/laravel-mongo-auth
Requires
- php: >=5.3.0
- navruzm/lmongo: master-dev
This package is not auto-updated.
Last update: 2020-01-24 15:06:58 UTC
README
MongoDB Authentication driver for Laravel 4.
Installation
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.