From 7c97abec8c0be6a0eaf73e2599a9add119950b79 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 15 Mar 2012 01:13:10 +0100 Subject: [PATCH] Update docs on repo order --- doc/04-schema.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/04-schema.md b/doc/04-schema.md index e3308630e..31188663f 100644 --- a/doc/04-schema.md +++ b/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