Skip to content

Commit 1a9ca3d

Browse files
committed
Update Composer installation instructions
1 parent bd5815c commit 1a9ca3d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ If you use [Bedrock](https://github.com/roots/bedrock), `WP_ENV` is already defi
2929

3030
## Installation
3131

32-
If you're using Composer to manage WordPress, open up your `composer.json` and add wp-stage-switcher to your project's dependencies:
32+
If you're using Composer to manage WordPress, add wp-stage-switcher to your project's dependencies. Run:
33+
34+
```sh
35+
composer require roots/wp-stage-switcher 1.0.0
36+
```
37+
38+
Or manually add it to your `composer.json`:
3339

3440
```json
3541
"require": {

0 commit comments

Comments
 (0)