Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
Add Laravel 5.5 autodiscovery capability
Browse files Browse the repository at this point in the history
  • Loading branch information
Sealtyel committed Apr 27, 2018
1 parent 30e7a7f commit d7767a0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ An artisan command to check your code standards via pre-commit git hook
composer require avirdz/laravel-git-sniffer
```

#### Add the provider to app config
#### Add the provider to app config (You don't need to do this if using Laravel >= 5.5)
```sh
Avirdz\LaravelGitSniffer\GitSnifferServiceProvider
```
Expand Down
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,12 @@
"psr-4": {
"Avirdz\\LaravelGitSniffer\\": "src"
}
},
"extra": {
"laravel": {
"providers": [
"Avirdz\\LaravelGitSniffer\\GitSnifferServiceProvider"
]
}
}
}

0 comments on commit d7767a0

Please sign in to comment.