2017 © Pedro Peláez
 

library laravel-mongodb-passport

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

image

steveporter92/laravel-mongodb-passport

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

  • Monday, January 22, 2018
  • by StevePorter92
  • Repository
  • 2 Watchers
  • 8 Stars
  • 39 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Laravel MongoDB Passport

Latest Stable Version Total Downloads, (*1)

A service provider to add support for Laravel Passport and MongoDB., (*2)

Table of contents

Installation

Installation using composer:, (*3)

composer require steveporter92/laravel-mongodb-passport

You need to have your App\User class extend StevePorter92\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., (*4)

<?php

namespace App;

use Illuminate\Notifications\Notifiable;
use StevePorter92\Mongodb\Auth\User as Authenticatable;

class User extends Authenticatable
{
    use Notifiable;
}

Laravel version Compatibility

Laravel Passport Package
5.5.x 4.0.x, 5.0.x, 6.0.x, 7.0.x 1.1.x
5.6.x 4.0.x, 5.0.x, 6.0.x, 7.0.x 1.1.x
6.x 4.0.x, 5.0.x, 6.0.x, 7.x 1.2.x

And add the service provider in config/app.php:, (*5)

StevePorter92\Mongodb\MongodbPassportServiceProvider::class,

For usage with Lumen, add the service provider in bootstrap/app.php., (*6)

$app->register(StevePorter92\Mongodb\MongodbPassportServiceProvider::class);

The service provider will overide the default laravel passport models in order to use mongodb's implementation of eloquent. There is no need to register any additional classes or add any additional configuration other than those outlined in Laravel Passport and MongoDB., (*7)

The Versions

22/01 2018

dev-master

9999999-dev https://github.com/designmynight/laravel-mongodb-passport

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

  Sources   Download

MIT

The Requires

 

by Steve Porter

mongodb laravel passport laravel-passport designmynight laravel-mongodb laravel-mongodb-passport

22/01 2018

v1.1.1

1.1.1.0 https://github.com/designmynight/laravel-mongodb-passport

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

  Sources   Download

MIT

The Requires

 

by Steve Porter

mongodb laravel passport laravel-passport designmynight laravel-mongodb laravel-mongodb-passport

11/01 2018

v1.1.0

1.1.0.0 https://github.com/designmynight/laravel-mongodb-passport

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

  Sources   Download

MIT

The Requires

 

by Steve Porter

mongodb laravel passport laravel-passport designmynight laravel-mongodb laravel-mongodb-passport

11/01 2018

v1.0.1

1.0.1.0 https://github.com/steveporter92/laravel-mongodb-passport

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

  Sources   Download

MIT

The Requires

 

by Steve Porter

mongodb laravel passport laravel-passport laravel-mongodb laravel-mongodb-passport steveporter92

10/01 2018

v1.0.0

1.0.0.0 https://github.com/steveporter92/laravel-mongodb-passport

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

  Sources   Download

MIT

The Requires

 

by Steve Porter

mongodb laravel passport laravel-passport laravel-mongodb laravel-mongodb-passport steveporter92