Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit ab1b02d

Browse files
committed
use --no-dev flag when installing
Composer installs the dev requirements *as listed before running any scripts* when executing `create-project`. By specifying `--no-dev`, we prevent that from occurring. This also adds a note that if you want development requirements, you *must* run `composer update` on completion.
1 parent 1370c0b commit ab1b02d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/book/quick-start-skeleton.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ renderer, and error handler from the outset.
1111
First, we'll create a new project, using Composer's `create-project` command:
1212

1313
```bash
14-
$ composer create-project -s rc zendframework/zend-expressive-skeleton expressive
14+
$ composer create-project --no-dev -s rc zendframework/zend-expressive-skeleton expressive
1515
```
1616

1717
> ### Stability
@@ -20,6 +20,12 @@ $ composer create-project -s rc zendframework/zend-expressive-skeleton expressiv
2020
> to recognize the version as installable, you must pass the `-s rc` flag,
2121
> indicating it should use packages of RC stability.
2222
23+
> ### Development requirements
24+
>
25+
> If you wish to use the development requirements as defined in the skeleton
26+
> (specifically, PHPUnit and PHP_CodeSniffer), you will need to run a
27+
> `composer update` after installation.
28+
2329
This will prompt you to choose:
2430

2531
- A router. We recommend using the default, FastRoute.

0 commit comments

Comments
 (0)