浏览代码

Merge pull request #6477 from joking777/patch-2

Example of disabling packagist.org globally
Jordi Boggiano 7 年之前
父节点
当前提交
6294113400
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      doc/05-repositories.md

+ 6 - 0
doc/05-repositories.md

@@ -655,4 +655,10 @@ You can disable the default Packagist.org repository by adding this to your
 }
 ```
 
+You can disable Packagist.org globally by using the global config flag:
+
+```
+composer confg -g repo.packagist false
+```
+
 ← [Schema](04-schema.md)  |  [Config](06-config.md) →