From 4b11bbccef83e7a188ff599bb531239ec86faaa4 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 6 Mar 2017 09:01:07 +0100 Subject: [PATCH] Add note about requiring composer for plugin dev, fixes #6132 --- doc/articles/custom-installers.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/articles/custom-installers.md b/doc/articles/custom-installers.md index a3c937a5e..791c04956 100644 --- a/doc/articles/custom-installers.md +++ b/doc/articles/custom-installers.md @@ -85,10 +85,16 @@ Example: }, "require": { "composer-plugin-api": "^1.0" + }, + "require-dev": { + "composer/composer": "^1.3" } } ``` +The example above has Composer itself in its require-dev, which allows you to use +the Composer classes in your test suite for example. + ### The Plugin class The class defining the Composer plugin must implement the