'I have project created by laravel 8 ,and i use JWT for my API ,now i can't install pusher because of JWT version
Someone can help me to fix this conflict
Your requirements could not be resolved to an installable set of packages.
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.1) does not satisfy that requirement.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Solution 1:[1]
If using Larvel Version 8
use composer require -w tymon/jwt-auth --ignore-platform-reqs
.
Solution 2:[2]
Just run
composer update
Or
composer require tymon/jwt-auth
Solution 3:[3]
it's work for me
composer require {{**Your package name**}} --ignore-platform-reqs
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Onen simon |
Solution 2 | Ayman Elshehawy |
Solution 3 | h.khodadadi |