剽窃至此,节俭搜寻工夫,不便开发时复制
以后我的项目切换 composer config repo.packagist composer {source}
全局切换 composer config -g repo.packagist composer {source}
全局查看配置 composer config -g -l
以后我的项目查看配置 composer config -l
禁用默认源镜像命令 composer config -g secure-http false
可用镜像
(1)、composerhttps://packagist.org
(2)、phpcomposerhttps://packagist.phpcomposer.com
(3)、阿里云 composer 镜像源 https://mirrors.aliyun.com/composer
(4)、腾讯云 composer 镜像源 https://mirrors.cloud.tencent.com/composer
(5)、华为云 composer 镜像源 https://mirrors.huaweicloud.com/repository/php