Composer 中国镜像

发布时间 2019年5月22日 • 1 分钟 读完 • 32 字
分享链接

Composer 中国镜像

Composer 中国镜像-阿里云镜像

原文地址:https://developer.aliyun.com/composer

选项一、全局配置(推荐)

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

取消镜像

composer config -g --unset repos.packagist

选项二、项目配置

仅修改当前工程配置,仅当前工程可使用该镜像地址::

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

取消镜像

composer config --unset repos.packagist

调试

composer -vvv install

Composer manager

鲜有日子,阿里云镜像也会抽风,那么这是镜像管理工具推荐给你,很方便切换到你想要使用的源

原文地址:https://github.com/slince/composer-registry-manager


评论

关注我

我的工作是编码和发布开发者表情包