composer如何同时支持中国全量镜像和其他仓库?

如题目前项目中用到一个插件但中国镜像里没有,所以我希望说能不能两个一起配,然后下载此插件的时候用下面第二个仓库,其它全是默认中国镜像这样

...
"repositories": {
    "packagist": {
        "type": "composer",
        "url": "https://packagist.phpcomposer.com"
    }
}
...
...
"repositories": [{
    "type": "vcs",
    "url": "https://github.com/PHP-FFMpeg/BinaryDriver.git"
}],
...
绝地无双
浏览 285回答 1
1回答

眼眸繁星

暂未找到解决方法
打开App,查看更多内容
随时随地看视频慕课网APP