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

use --no-dev flag when installing #274

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ also provides configuration for officially supported dependencies.
To use the skeleton, use Composer's `create-project` command:

```bash
$ composer create-project -s rc zendframework/zend-expressive-skeleton <project dir>
$ composer create-project --no-dev -s rc zendframework/zend-expressive-skeleton <project dir>
```

This will prompt you through choosing your dependencies, and then create and
Expand Down
8 changes: 7 additions & 1 deletion doc/book/quick-start-skeleton.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ renderer, and error handler from the outset.
First, we'll create a new project, using Composer's `create-project` command:

```bash
$ composer create-project -s rc zendframework/zend-expressive-skeleton expressive
$ composer create-project --no-dev -s rc zendframework/zend-expressive-skeleton expressive
```

> ### Stability
Expand All @@ -20,6 +20,12 @@ $ composer create-project -s rc zendframework/zend-expressive-skeleton expressiv
> to recognize the version as installable, you must pass the `-s rc` flag,
> indicating it should use packages of RC stability.

> ### Development requirements
>
> If you wish to use the development requirements as defined in the skeleton
> (specifically, PHPUnit and PHP_CodeSniffer), you will need to run a
> `composer update` after installation.

This will prompt you to choose:

- A router. We recommend using the default, FastRoute.
Expand Down