Oussama Tamsaft
Oussama Tamsaft

Reputation: 39

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.

Upvotes: 1

Views: 10086

Answers (3)

h.khodadadi
h.khodadadi

Reputation: 1

it's work for me

composer require {{**Your package name**}} --ignore-platform-reqs

Upvotes: 0

Ayman Elshehawy
Ayman Elshehawy

Reputation: 2964

Just run

composer update

Or

composer require tymon/jwt-auth

Upvotes: 0

Onen simon
Onen simon

Reputation: 768

If using Larvel Version 8 use composer require -w tymon/jwt-auth --ignore-platform-reqs.

Upvotes: 0

Related Questions