Posts tagged with composer

全局配置:

composer config -g --unset repos.packagist
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
composer config -g repos.packagist composer https://mirrors.tencent.com/composer/

项目专属配置:

composer config --unset repos.packagist
composer config repo.packagist composer https://mirrors.aliyun.com/composer/