解决composer install遇到:Your requirements could not be resolved to an installable set of packages

首先看报错信息:如下图

解决办法:直接忽略版本就是了

composer install --ignore-platform-reqs 或者 composer update --ignore-platform-reqs

结果如下:

这样就解决了!

你可能感兴趣的:(解决composer install遇到:Your requirements could not be resolved to an installable set of packages)