1
0
Fork 0

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.)
pull/9517/head
Brad Jones 2020-11-23 10:41:52 -10:00 committed by GitHub
parent b7d770659b
commit 4b2df65833
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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 - **post-autoload-dump**: occurs after the autoloader has been dumped, either
during `install`/`update`, or via the `dump-autoload` command. during `install`/`update`, or via the `dump-autoload` command.
- **post-root-package-install**: occurs after the root package has been - **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 - **post-create-project-cmd**: occurs after the `create-project` command has
been executed. been executed.