一、报错案例
composer update 或者 composer install
composer.json依赖文件没有任何问题,依然报错it could not be found in any version
二、解决
主要就是切换镜像源:
composer config -g repo.packagist composer https://packagist.org
之后再执行composer install
即可!
包来源地址查询命令: composer config -l -g
参考:https://blog.csdn.net/qq_35401605/article/details/124894482
标签:could,update,version,报错,composer,any From: https://www.cnblogs.com/wlei5206/p/18155228