Skip to content

Commit

Permalink
Add package auto-discover
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkanetiya committed Jul 31, 2018
1 parent 32006cc commit 14eef24
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ You can install the package via [Composer](http://getcomposer.org):
composer require nikkanetiya/laravel-color-palette
```

You must install the service provider:
You must install the service provider (For Laravel < 5.5):

```php
// config/app.php
Expand Down
10 changes: 10 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,15 @@
"psr-4": {
"NikKanetiya\\LaravelColorPalette\\": "src"
}
},
"extra": {
"laravel": {
"providers": [
"NikKanetiya\\LaravelColorPalette\\ColorPaletteServiceProvider"
],
"aliases": {
"ColorPalette": "NikKanetiya\\LaravelColorPalette\\ColorPaletteFacade"
}
}
}
}

0 comments on commit 14eef24

Please sign in to comment.