码迷,mamicode.com
首页 > 其他好文 > 详细

composer镜像

时间:2019-08-25 11:57:25      阅读:66      评论:0      收藏:0      [点我收藏+]

标签:镜像   zlib   com   其他   gis   create   使用   creat   yun   

基础使用

//全局
composer config -g repo.packagist composer https://packagist.laravel-china.org
//局部
composer config repo.packagist composer https://packagist.laravel-china.org
//取消
composer config -g --unset repos.packagist
//遇到问题输出调试信息
composer -vvv create-project laravel/laravel blog
composer -vvv require psr/log

全量镜像

//dont know 尊云赞助的
composer config -g repos.packagist composer https://php.cnpkg.org
//laravel-china laravel-china 又拍云赞助的 19年9月多停止服务
composer config -g repo.packagist composer https://packagist.laravel-china.org
//华为云 非全量镜像
composer config -g repo.packagist composer https://repo.huaweicloud.com/repository/php/
//阿里云 zlib_decode有错误 好像不影响
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

其他镜像

//上海交大
composer config -g repos.packagist composer https://packagist.mirrors.sjtug.sjtu.edu.cn

composer镜像

标签:镜像   zlib   com   其他   gis   create   使用   creat   yun   

原文地址:https://www.cnblogs.com/mi-autumn/p/composer_mirrors.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!