PHPackages                             reshadman/laravel-mongo-auth - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. reshadman/laravel-mongo-auth

AbandonedArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

reshadman/laravel-mongo-auth
============================

A native mongo db auth driver on Laravel 5's default auth module.

1.0.0(11y ago)28454[1 issues](https://github.com/reshadman/laravel-mongo-auth/issues)PHP

Since Feb 27Pushed 10y ago1 watchersCompare

[ Source](https://github.com/reshadman/laravel-mongo-auth)[ Packagist](https://packagist.org/packages/reshadman/laravel-mongo-auth)[ RSS](/packages/reshadman-laravel-mongo-auth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Laravel Native MongoDB Authentication Driver
--------------------------------------------

[](#laravel-native-mongodb-authentication-driver)

This package does not require any external MongoDB related dependencies except the Php MongoDB Driver and simply uses `Auth::extend()` to extend the native Laravel Auth module.

### Installation

[](#installation)

1. Run `composer require reshadman/laravel-mongo-auth` in your project's composer root.
2. Add the `Reshadman\LmAuth\LmAuthServiceProvider` service provider to your app.
3. Run `php artisan vendor:publish` command to generate package config files.
4. In `auth.php` config set the `driver` to `lmauth` :

```
