composer切中国源

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

当自己开发一个组件的话,因为同步原因,中国源大概会晚5~10分钟,所以自己开发的时候最好切回外国的.....

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

参考

http://pkg.phpcomposer.com/

© 404mzk all right reserved,powered by Gitbook该文件修订时间: 2017-04-09 09:07:59

results matching ""

    No results matching ""