yii2-jwt icon indicating copy to clipboard operation
yii2-jwt copied to clipboard

It is not supporting php 8.1

Open harsh4you07 opened this issue 2 years ago • 6 comments

we are getting below error,

lcobucci/jwt[3.3.0, ..., 3.3.x-dev] require php ^5.6 || ^7.0 -> your php version (8.1.7) does not satisfy that requirement. - sizeg/yii2-jwt[v2.0.0, ..., v2.0.2] require lcobucci/jwt ~3.3.0 -> satisfiable by lcobucci/jwt[3.3.0, ..., 3.3.x-dev]. - Root composer.json requires sizeg/yii2-jwt ^2.0 -> satisfiable by sizeg/yii2-jwt[v2.0.0, v2.0.1, v2.0.1.1, v2.0.2].

harsh4you07 avatar Sep 15 '22 12:09 harsh4you07

It is not supporting php 8.1 please

AbdullahAlfar avatar Sep 18 '22 13:09 AbdullahAlfar

Thank you for the report. i'll try to fix it this week

sizeg avatar Sep 20 '22 09:09 sizeg

Thank you for the report. i'll try to fix it this week

Still waiting for version 8.1 support...

numelion avatar Sep 27 '22 10:09 numelion

https://github.com/lcobucci/jwt/issues/843#issuecomment-1124514766

All you need to do is update your composer json. Thanks for your work, it's a good package.

cozumel424 avatar Sep 29 '22 10:09 cozumel424

@sizeg hello, when will you upgrade the composer json to lcobucci/jwt:^4? I really need your package

numelion avatar Oct 14 '22 11:10 numelion

Yes, php 8.x support is needed...

floor12 avatar Oct 27 '22 22:10 floor12

Sadly it's not supporting php8.x because it's using an outdated version of lcobucci/jwt, All packages from that repo below 4.2.0 have security issues, and given this is a security tool, without an update and if it's not gonna be keeped up to date it's not even worth trying it, move to some other package or try a node.js implementation

cxpreng avatar Dec 06 '22 18:12 cxpreng

https://github.com/sizeg/yii2-jwt/tree/v4.0-beta

sizeg avatar Dec 18 '22 17:12 sizeg