查看配置文件
composer config -gl
修改镜像地址
composer config -g repo.packagist composer https://packagist.phpcomposer.com
查看版本号
composer -V v大写