使用composer镜像
使用aliyun镜像
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
禁止安装时更新
composer require 添加 --no-update
参数
composer require packagename --no-update
使用aliyun镜像
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
composer require 添加 --no-update
参数
composer require packagename --no-update