Skip to content

Commit

Permalink
[update] README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyDunn committed Feb 1, 2020
1 parent 0b6bf26 commit 901740c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,17 @@

## Global Installation

To globally install this custom standard along with `phpcs` and `phpcbf`, run the following command.
To globally install this custom standard along with `phpcs` and `phpcbf`, add the following to your `~/.composer/composer.json` file.

```json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/doeanderson/phpcs-laravel"
}
],
```
Then run the following command.

```shell
composer global require doeanderson/phpcs-laravel
Expand All @@ -23,7 +33,7 @@ Add the following to your project's `composer.json` file.
],
```

Then run the following command
Then run the following command.
```shell
composer require --dev doeanderson/phpcs-laravel
```
Expand Down

0 comments on commit 901740c

Please sign in to comment.