composer config -g repos.packagist composer https://mirrors.cloud.tencent.com/composer/  //全局安装
composer clearcache
composer update || install //如果之前有通过其他源进行安装,删除lock,运行此命令重新安装