comoser中国镜像
去除镜像
composer config -g --unset repos.packagist
添加全局镜像
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
为当前项目添加镜像
composer config repo.packagist composer https://mirrors.aliyun.com/composer/
查看镜像
composer config -l -g