From 4b2df65833879a02439bd42c63faa2c0f209c080 Mon Sep 17 00:00:00 2001 From: Brad Jones Date: Mon, 23 Nov 2020 10:41:52 -1000 Subject: [PATCH] Clarify difference in create-project related scripts I wasn't entirely clear the difference between post-root-package-install and post-create-project-cmd, so this is an effort to clarify (as to the best of my understanding.) --- doc/articles/scripts.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/articles/scripts.md b/doc/articles/scripts.md index 9ea6b33b8..9b5ca4a88 100644 --- a/doc/articles/scripts.md +++ b/doc/articles/scripts.md @@ -38,7 +38,8 @@ Composer fires the following named events during its execution process: - **post-autoload-dump**: occurs after the autoloader has been dumped, either during `install`/`update`, or via the `dump-autoload` command. - **post-root-package-install**: occurs after the root package has been - installed, during the `create-project` command. + installed during the `create-project` command (but before its + dependencies are installed). - **post-create-project-cmd**: occurs after the `create-project` command has been executed.