用的全局设置了国内镜像,虽然很快,但刚提交的包,却不能安装。
composer config -g repo.packagist composer https://packagist.phpcomposer...
提示:
Your requirements could not be resolved to an installable set of packages.
请问有什么方法在原始镜像和国内镜像之前来回切换?
我现在想设置回最初的国外镜像 怎么搞?
composer config -g -e其实就是修改config.json
composer config -g -e
config.json
{ "repositories": [ { "packagist": false }, { "type": "composer", "url": "https://packagist.phpcomposer.com" } ] }
2.1m questions
2.1m answers
60 comments
57.0k users