From 37b1e4c4a891b717ca4c60df058b933675c6450d Mon Sep 17 00:00:00 2001 From: till Date: Mon, 13 Aug 2012 16:26:24 +0200 Subject: [PATCH] Share more info about COMPOSER_HOME/config.json. --- doc/03-cli.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/03-cli.md b/doc/03-cli.md index c1e338c76..bf47c4bb4 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -269,6 +269,18 @@ By default it points to `/home//.composer` on *nix, `/Users//.composer` on OSX and `C:\Users\\AppData\Roaming\Composer` on Windows. +#### COMPOSER_HOME/config.json + +You may put a `config.json` file into the location which `COMPOSER_HOME` points +to. Composer will merge this configuration with your project's `composer.json` +when you run the `install` and `update` commands. + +This file allows you to set [configuration](04-schema.md#config) and +[repositories](05-repositories.md) for the user's projects. + +In case global configuration matches _local_ configuration, the _local_ +configuration in the project's `composer.json` always wins. + ### COMPOSER_PROCESS_TIMEOUT This env var controls the time composer waits for commands (such as git