下载composer.exe
非开发者模式,一直下一步,选择自己的PHP.exe;
安装完成,
安装镜像;
全局配置:
composer config -g repo.packagist composer https://packagist.phpcomposer.com
单项目配置
composer config repo.packagist composer https://packagist.phpcomposer.com
撤销镜像
composer config -g --unset repos.packagist