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 Gitbookhttp://blog.404mzk.com 该文件修订时间: 2016-12-12 22:55:35

results matching ""

    No results matching ""