网站建设咨询
ECS云服务器,3年付仅3折,17元/月起

【萍乡网站建设】怎么使用composer加速,comoser镜像有哪些?

阿里云

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

全局配置:

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

华为云

使用说明:https://mirrors.huaweicloud.com

全局配置:

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

腾讯云

使用说明:https://mirrors.cloud.tencent.com/composer/

全局配置:

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

laravel-china

使用说明:https://packagist.laravel-china.org/

全局配置:

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

cnpkg

使用说明:https://php.cnpkg.org

全局配置:

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

Composer官方镜像,速度较慢

全局配置:

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

长沙网站建设|开发|制作|技术-吾爱阅读博客
请先登录后发表评论
  • latest comments
  • 总共0条评论