From e3c6b213e770ceb078f8958c177e1119f89a984d Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 21 Sep 2020 13:51:49 +0200 Subject: [PATCH] Add note about composer.json location, fixes 9225 --- doc/01-basic-usage.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/01-basic-usage.md b/doc/01-basic-usage.md index 45e1cc727..e95088bc5 100644 --- a/doc/01-basic-usage.md +++ b/doc/01-basic-usage.md @@ -13,7 +13,10 @@ a logging library. If you have not yet installed Composer, refer to the To start using Composer in your project, all you need is a `composer.json` file. This file describes the dependencies of your project and may contain -other metadata as well. +other metadata as well. It typically should go in the top-most directory of +your project/VCS repository. You can technically run Composer anywhere but +if you want to publish a package to Packagist.org, it will have to be able +to find the file at the top of your VCS repository. ### The `require` key