updated docs with new create project command information
parent
337f817ba3
commit
f28f3c2d96
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue