PHPackages                             larautils/mongodb-passport - 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. larautils/mongodb-passport

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

larautils/mongodb-passport
==========================

A package to allow laravel/passport use with jenssegers/laravel-mongodb

v2.0.1(8y ago)071MITPHP

Since Jan 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/larautils/mongodb-passport)[ Packagist](https://packagist.org/packages/larautils/mongodb-passport)[ RSS](/packages/larautils-mongodb-passport/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (7)Used By (0)

LaraUtils MongoDB Passport
==========================

[](#larautils-mongodb-passport)

A service provider to add support for [Laravel Passport](https://github.com/laravel/passport) and [MongoDB](https://github.com/jenssegers/laravel-mongodb).

Table of contents
-----------------

[](#table-of-contents)

- [Installation](#installation)

Installation
------------

[](#installation)

Installation using composer:

```
composer require larautils/mongodb-passport
```

You need to have your `App\User` class extend `LaraUtils\MongoDb\Passport\Models\User.php` instead of the default `Illuminate\Foundation\Auth\User`. This user class extends larvel-mongodb eloquent user as well as adding all the standard and required authentication and laravel passport traits.

```
