solucionatico/laravel-passport-mongodb

Laravel Passport provides OAuth2 server support to Laravel with MongoDB Jenssegers.


README

Laravel Passport support for MongoDB projects using Jenssegers.

Requeriments

Require library Jenssegers/laravel-mongodb

Official Documentation

Documentation for Passport can be found on the Laravel website.

Instalation

Install requeriments

Installation using composer

composer require jenssegers/mongodb

See more in Jessegers installation docs for settings providers and database.

Install Laravel Passport MongoDB

Installation using composer

composer require solucionatico/laravel-passport-mongodb:7.0.2

Follow the installation guide from Laravel Passport installation docs

Except step for composer required :-D

Update AuthServiceProvider.php in app/Providers

Add line:

use Laravel\Passport\Passport;

License

Laravel Passport is open-sourced software licensed under the MIT license.