composer查看全局设置:
composer config -gl1
设置composer镜像为国内镜像:
composer config -g repo.packagist composer https://packagist.phpcomposer.com
做你喜欢的,所需的资源将随之而来的.