Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 7.3.

解决办法:

1、在项目根目录的composer.josn内增加

{

    "config": {

     

        "platform-check": false

    }

}

 

2、清除配置缓存:

 php artisan config:cache

3、重构对象,在控制台执行:

composer update --ignore-platform-reqs

composer dump-autoload

你可能感兴趣的:(php,composer,开发语言)