Skip to content

Commit

Permalink
Add installation instructions for composer v1
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctl committed May 21, 2021
1 parent b2bddfa commit fdb02dc
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,26 @@ rules for use primarily with the [SquareOne](https://github.com/moderntribe/squa

## Install

`composer require moderntribe/coding-standards --dev`
Composer v2:

`composer require --dev moderntribe/coding-standards`

Composer v1:

Add to the `repositories` object:

```json
{
"type": "vcs",
"url": "[email protected]:moderntribe/coding-standards.git"
},
```

And `require-dev`:

```json
"moderntribe/coding-standards": "^1.0",
```

## Resources:

Expand Down

0 comments on commit fdb02dc

Please sign in to comment.