From f28f3c2d96c29cc52f50c153dfaa147c68266794 Mon Sep 17 00:00:00 2001 From: Tobias Munk Date: Fri, 31 May 2013 11:39:14 +0200 Subject: [PATCH] updated docs with new create project command information --- doc/03-cli.md | 3 +++ doc/articles/scripts.md | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/03-cli.md b/doc/03-cli.md index 3f1d6ae8b..0f8d7ba7c 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -315,6 +315,9 @@ If the directory does not currently exist, it will be created during installatio php composer.phar create-project doctrine/orm path 2.2.0 +It is also possible to run the command without params in a directory with an +existing `composer.json` file to bootstrap a project. + By default the command checks for the packages on packagist.org. ### Options diff --git a/doc/articles/scripts.md b/doc/articles/scripts.md index 0c5d85343..7e6f9f41b 100644 --- a/doc/articles/scripts.md +++ b/doc/articles/scripts.md @@ -34,7 +34,10 @@ Composer fires the following named events during its execution process: during `install`/`update`, or via the `dump-autoload` command. - **post-autoload-dump**: occurs after the autoloader is 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. +- **post-create-project-cmd**: occurs after the `create-project` command is + executed. ## Defining scripts