composer install 报错原因 PHP 7版本太高,不符合composer.json需要的版本
php版本过高 导致composer install报错
composer install –ignore-platform-reqs
composer update –ignore-platform-reqs
其实我一直在你身边
php版本过高 导致composer install报错
composer install –ignore-platform-reqs
composer update –ignore-platform-reqs
composer update 会读取 composer.json中指定的依赖
composer install 会优先读取composer.lock,如果没有composer.lock 用法跟composer update一样