欧阳简之 > composer源切换国内或官方源

热爱代码,对每一行代码保持一颗敬畏之心。

把composer的源切换为国际的源:

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

国际源切换为中国镜像:

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