composer更新失败等问题
composer根级添加:
PHP Code复制内容到剪贴板
- "repositories": {
- "0": {
- "type": "composer",
- "url": "https://asset-packagist.cn"
- },
- "packagist": {
- "type": "composer",
- "url": "https://mirrors.aliyun.com/composer/"
- }
- }
上面的源是阿里云的,也可换成腾讯的
https://mirrors.cloud.tencent.com/composer
上一篇 如何升级composer
下一篇 返回列表