Permalink
Browse files

Add docs about package-path, refs #1819

  • Loading branch information...
Seldaek committed Apr 27, 2013
1 parent 895058d commit 670b36238aab29ca04e38f3a3db8a0487afe735c
Showing with 5 additions and 0 deletions.
  1. +5 −0 doc/05-repositories.md
View
@@ -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`

0 comments on commit 670b362

Please sign in to comment.