Problem 1
- tymon/jwt-auth is locked to version 1.0.2 and an update of this package was not requested.
- tymon/jwt-auth 1.0.2 requires php ^5.5.9|^7.0 -> your php version (8.0.2) does not satisfy that requirement.
| Q | A
| ----------------- | ---
| Bug? | yes
| New Feature? | no / yes
| Framework | Laravel
| Framework version | 8.0
| Package version | 1.0.2
| PHP version | 8
composer update
or
composer require tymon/jwt-auth
there is already support for php 8, always work with the dev branch
composer require tymon/jwt-auth:dev-develop --prefer-source
The dev-branch is insufficient in my case because lcobucci/jwt is locked to below <3.4. Another library has a fix for PHP8.0 that requires lcobucci/jwt to be at least 3.4 and so jwt-auth should have lcobucci/jwt upgraded.
Hello, same here. When will the update be available? Thanks
Hello, same here. When will the update be available? Thanks
The dev-branch is insufficient in my case because lcobucci/jwt is locked to below <3.4. Another library has a fix for PHP8.0 that requires lcobucci/jwt to be at least 3.4 and so jwt-auth should have lcobucci/jwt upgraded.
Workaround - add this lines in your composer.json, this will override the requirement of <3.4. Works fine for me atm.
"replace": {
"lcobucci/jwt": "*"
},
Most helpful comment
Hello, same here. When will the update be available? Thanks