designmynight / laravel-mongodb-passport

A package to get Laravel Passport working with MongoDB
MIT License
67 stars 75 forks source link

this package is not supported for laravel 7.can u please provide one for laravel 7 #40

Open aleeshanoushad opened 4 years ago

aleeshanoushad commented 4 years ago

image this is what happening when i try to install this package

a-zog commented 4 years ago

Any updates regarding this issue please?

aleeshanoushad commented 4 years ago

Any updates regarding this issue please?

no yet

SaeedNikmehr commented 4 years ago

i have the same problem . for laravel 7 i had to use jens segers/mongo db version 4.* . but it seems this package can only work with v3.6 or less than that . so any one has any idea how fix this problem to use passport in laravel with mongo?

alasdairmackenzie commented 4 years ago

Can you make a PR to resolve this?

SaeedNikmehr commented 4 years ago

Can you make a PR to resolve this?

it seems this error happens because passport still use Illuminate\Database\Eloquent\Model instead of Jenssegers\Mongodb\Eloquent\Model so after install jenssegers/laravel you can replace them in vendor files . i found these : /vendor/laravel/passport/src/AuthCode.php /vendor/laravel/passport/src/Client.php /vendor/laravel/passport/src/PersonalAccessClient.php /vendor/laravel/passport/src/RefreshToken.php /vendor/laravel/passport/src/Token.php also check this https://github.com/sadnub/laravel-mongodb-passport-fix

alasdairmackenzie commented 4 years ago

Thanks for that - that looks good. I'll have a look tomorrow at those changes. If you can make a PR with those changes then that'll help me out.

mykeysr commented 4 years ago

Any update please?

hypnodev commented 3 years ago

I've released PR #46 that with some upgrade of some dependencies make it's usable also in 7

a-zog commented 3 years ago

Seems that the issue is not resolved yet.

I'd like to thank the #DesignMyNight team for the great work it has done to make our lives easier.

At the same time, Laravel releases are out at a very faster pace and this package is holding our technical capabilities back.

Would you please tell us more about the challenges that are preventing you from making this 📦 available to L7 or even L8? How can this community help you go faster?

Thank you in advance

tatyanakoba commented 3 years ago

Hi guys, do you plan to upgrade package for new laravel version?