From 670b36238aab29ca04e38f3a3db8a0487afe735c Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sat, 27 Apr 2013 17:39:12 +0200 Subject: [PATCH] Add docs about package-path, refs #1819 --- doc/05-repositories.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/05-repositories.md b/doc/05-repositories.md index b8f57e665..bad3c2080 100644 --- a/doc/05-repositories.md +++ b/doc/05-repositories.md @@ -315,6 +315,11 @@ repository like this: If you have no branches or tags directory you can disable them entirely by setting the `branches-path` or `tags-path` to `false`. +If the package is in a sub-directory, e.g. `/trunk/foo/bar/composer.json` and +`/tags/1.0/foo/bar/composer.json`, then you can make composer access it by +setting the `"package-path"` option to the sub-directory, in this example it +would be `"package-path": "foo/bar/"`. + ### PEAR It is possible to install packages from any PEAR channel by using the `pear`