laravel-mongodb-passport icon indicating copy to clipboard operation
laravel-mongodb-passport copied to clipboard

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

Open aleeshanoushad opened this issue 4 years ago • 10 comments

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

aleeshanoushad avatar Apr 28 '20 04:04 aleeshanoushad

Any updates regarding this issue please?

a-zog avatar May 20 '20 01:05 a-zog

Any updates regarding this issue please?

no yet

aleeshanoushad avatar May 20 '20 03:05 aleeshanoushad

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?

SaeedNikmehr avatar May 22 '20 21:05 SaeedNikmehr

Can you make a PR to resolve this?

alasdairmackenzie avatar May 22 '20 21:05 alasdairmackenzie

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

SaeedNikmehr avatar May 22 '20 23:05 SaeedNikmehr

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.

alasdairmackenzie avatar May 23 '20 00:05 alasdairmackenzie

Any update please?

mykeysr avatar Jun 16 '20 14:06 mykeysr

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

hypnodev avatar Aug 23 '20 23:08 hypnodev

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

a-zog avatar Feb 14 '21 16:02 a-zog

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

tatyanakoba avatar May 11 '21 11:05 tatyanakoba