環境
- Laravel ^8.40
- PHP 8.0
課題
composer require -w tymon/jwt-auth としたら下記のエラーが出てしまう
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires tymon/jwt-auth ^0.5.12 -> satisfiable by tymon/jwt-auth[0.5.12].
- tymon/jwt-auth 0.5.12 requires illuminate/support ~5.0 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
解決策
以下のコマンドで実行する
composer require tomfordrumm/jwt-auth:dev-develop