Blogger Information
Blog 63
fans 2
comment 0
visits 162970
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
Composer更换阿里全量镜像
书声的博客
Original
1198 people have browsed it

最近在使用Composer安装Laravel框架时,Composer镜像一直很慢,提示错误,导致安装中断,于是更换成国内阿里的Composer全量镜像。
查看镜像源命令:composer config -l -g
原中国全量镜像
https://packagist.phpcomposer.com
阿里云 Composer 全量镜像
https://mirrors.aliyun.com/composer/

更换操作:composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
清除缓存:composer clear-cache

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post