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

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

luqta/laravel-mongodb-passport
==============================

\[2019\] \[Laravel v6\] - A package to allow laravel/passport use with jenssegers/laravel-mongodb

v1.0(6y ago)0315MITPHPPHP ^7.1.3CI failing

Since Feb 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/3bdullahg97/laravel-mongodb-passport)[ Packagist](https://packagist.org/packages/luqta/laravel-mongodb-passport)[ Docs](https://github.com/narwy/laravel-mongodb-passport)[ RSS](/packages/luqta-laravel-mongodb-passport/feed)WikiDiscussions master Synced 1mo ago

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

Laravel MongoDB Passport
========================

[](#laravel-mongodb-passport)

[![Latest Stable Version](https://camo.githubusercontent.com/98951cf51171f039186cec92f0079c1de86b15f07e9a8a95bc278040fbfe9db0/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6e617277792f6c61726176656c2d6d6f6e676f64622d70617373706f72742e737667)](https://packagist.org/packages/narwy/laravel-mongodb-passport) [![Total Downloads](https://camo.githubusercontent.com/2a701d6a3d71a0954c864c638a75598a463d8d7501836866b584843884759708/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e617277792f6c61726176656c2d6d6f6e676f64622d70617373706f72742e737667)](https://packagist.org/packages/narwy/laravel-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 narwy/laravel-mongodb-passport
```

You need to have your `App\User` class extend `Narwy\Mongodb\Auth\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.

```
