php版本 8.0.2 laravel 版本 9.19
执行命令
composer require tymon/jwt-auth 1.*@rc
出错,提示以下问题
Problem 1
- Root composer.json requires tymon/jwt-auth 1.0.0-rc.4.1 -> satisfiable by
tymon/jwt-auth[1.0.0-rc.4.1].
- tymon/jwt-auth 1.0.0-rc.4.1 requires php ^5.5.9 || ^7.0 -> your php versio
n (8.0.2) does not satisfy that requirement.
执行命令
composer require tymon/jwt-auth --ignore-platform-reqs
成功安装。