From acea849c513b5195c25587982ed9f3bd497d6473 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 16 Feb 2022 14:58:24 +0100 Subject: [PATCH] Clarify plugin docs slightly wrt pre-operations-exec event --- doc/articles/scripts.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/articles/scripts.md b/doc/articles/scripts.md index 5d2a377bb13f..37fe8e7ff24a 100644 --- a/doc/articles/scripts.md +++ b/doc/articles/scripts.md @@ -46,7 +46,9 @@ Composer fires the following named events during its execution process: ### Installer Events - **pre-operations-exec**: occurs before the install/upgrade/.. operations - are executed when installing a lock file. + are executed when installing a lock file. Plugins that need to hook into + this event will need to be installed globally to be usable, as otherwise + they would not be loaded yet when a fresh install of a project happens. ### Package Events