Skip to content

sadnub/laravel-mongodb-passport-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

laravel-mongodb-passport-fix

This will add a console command to automatically update the Illuminate\Database\Eloquent\Model models in the Passport vendor files to include Jenssegers\Mongodb\Eloquent\Model instead.

Installation

Move MongoDBPassportFix.php to app/Console/Commands. You may need to create the Commands folder

How to Run

Just run php artisan fix:passport and that is all

This will need to be run everytime Laravel Passport is updated

You can revert these changes by running php artisan fix:passport --rollback

About

Updates passport models to use the MongoDB Models

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages