laravel 更换composer镜像源为阿里云
步骤:
全局替换
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
composer clear-cache # 此步奏选泽性操作,清除所有 package 缓存。
当前项目替换
composer config repo.packagist composer https://mirrors.aliyun.com/composer/