php开发Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.33.
Composer提示版本不对,通过指定版本解决:
1、命令行执行:
composer config platform.php 7.4
2、修改composer.json文件
"config": {
"platform": {
"php": "7.4"
}
}
两个效果是一样的。
参考:https://blog.c...