安装
composer global require slince/composer-registry-manager
查看镜像站列表
composer repo:ls
*
表示当前镜像站,部分站点可能无法正常使用。
--- ------------- ------------------------------------------------ ------------------------------
composer https://packagist.org Europe, Canada and Singapore
aliyun https://mirrors.aliyun.com/composer China
tencent https://mirrors.cloud.tencent.com/composer China
huawei https://mirrors.huaweicloud.com/repository/php China
sjtug https://packagist.mirrors.sjtug.sjtu.edu.cn China
phpcomposer https://packagist.phpcomposer.com China
kkame https://packagist.kr South Korea
* hiraku https://packagist.jp Japan
webysther https://packagist.com.br Brazil
solidworx https://packagist.co.za South Africa
indra https://packagist.phpindonesia.id Indonesia
varun https://packagist.in India
--- ------------- ------------------------------------------------ ------------------------------
使用镜像站
# hiraku 对应 Japan,即最左侧一列内容。
composer repo:use hiraku
[OK] Use the repository [hiraku] successfully
补充
更多使用说明请查阅 官方文档 。
评论 (0)