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

Commit b1a50dc

Browse files
committed
Merge branch 'hotfix/skeleton-install'
Close #274
2 parents 1370c0b + a0841df commit b1a50dc

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ Initial stable release.
88

99
### Added
1010

11-
- Nothing.
11+
- [#274](https://github.com/zendframework/zend-expressive/pull/274) adds the
12+
`--no-dev` flag to the `composer create-project` invocation examples. Not
13+
using this flag installs the development requirements listed before the
14+
installer script updates the `composer.json`, which leads to unnecessary
15+
dependencies.
1216

1317
### Deprecated
1418

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ also provides configuration for officially supported dependencies.
3636
To use the skeleton, use Composer's `create-project` command:
3737

3838
```bash
39-
$ composer create-project -s rc zendframework/zend-expressive-skeleton <project dir>
39+
$ composer create-project --no-dev -s rc zendframework/zend-expressive-skeleton <project dir>
4040
```
4141

4242
This will prompt you through choosing your dependencies, and then create and

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)