交流学习

Composer 中国镜像地址

phpcomposer 镜像

composer config -g repo.packagist composer https://packagist.phpcomposer.com

Laravel China 镜像(2019.9月停更)

composer config -g repo.packagist composer https://packagist.laravel-china.org

安畅网络镜像

composer config -g repos.packagist composer https://php.cnpkg.org

阿里巴巴开源镜像提供的 packagist 镜像服务

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

使用说明:https://mirrors.aliyun.com/composer/

交通大学镜像

composer config -g repos.packagist composer https://packagist.mirrors.sjtug.sjtu.edu.cn

华为云

composer config -g repo.packagist composer https://mirrors.huaweicloud.com/repository/php/

腾讯云

composer config -g repos.packagist composer https://mirrors.cloud.tencent.com/composer/

关闭全局配置

composer config -g --unset repos.packagist

本文链接:http://118.25.60.91:9000/article-51/1556246486
更多使用方式:https://learnku.com/composer/wikis/30594

⬆️

暂无评论~~