标签:
通过 composer config -l -g
命令可以列出 composer 的全局配置信息
[home]
配置项就是 composer 的主目录
修改config.json
{ "config": { }, "repositories": [ {"type": "composer", "url": "https://packagist.phpcomposer.com"}, {"packagist": false} ] }
标签:
原文地址:http://www.cnblogs.com/baby123/p/5450088.html