全局配置修改:
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
查看当前Composer下载源命令:
composer config -g -l repo.packagist
成功如图所示: