-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add installation instructions for composer v1
- Loading branch information
Showing
1 changed file
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
||
|