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

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy