,命令行直接卡到composer Updating dependencies (including require-dev),之后的下载全都是failed
之前一直找的是很多年前大佬们推荐的镜像:
composer config -g repo.packagist composer https://packagist.phpcomposer.com
但感觉这个国内镜像不好用了。
解决办法:之后找了阿里的镜像,瞬间解决!推荐如下:
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/