瀏覽代碼

Update docs on repo order

Jordi Boggiano 13 年之前
父節點
當前提交
7c97abec8c
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      doc/04-schema.md

+ 4 - 3
doc/04-schema.md

@@ -297,9 +297,10 @@ Example:
         ]
     }
 
-> **Note:** Order is significant here. Repositories added later will take
-precedence. This also means that custom repositories can override packages
-that exist on packagist.
+> **Note:** Order is significant here. When looking for a package, Composer
+will look from the first to the last repository, and pick the first match.
+By default Packagist is added last which means that custom repositories can
+override packages from it.
 
 ## config