QThans / jwt-auth

JSON Web Token Authentication for Thinkphp
MIT License
146 stars 31 forks source link

thinkphp6.0+php8版本无法使用? #31

Closed ChZhg123 closed 2 years ago

ChZhg123 commented 2 years ago

thans/tp-jwt-auth1.2.0需要依赖lcobucci/jwt:3.3.,但是lcobucci/jwt:3.3.只支持php5.6或者php7版本

NbTOne commented 2 years ago

composer require安装时可以--ignore-platform-reqs忽略检查依赖,临时解决。本来lcobucci/jwt 4 代码改变了很多

yuanzhihai commented 2 years ago

composer require yzh52521/jwt-auth 已支持lcobucci/jwt 4.0