Skip to content

Commit

Permalink
Merge pull request #4 from royduin/master
Browse files Browse the repository at this point in the history
Added Laravel 5.5 package auto discovery support
  • Loading branch information
oriceon authored Oct 4, 2017
2 parents 148d274 + b61c5d2 commit d570b55
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Installation
------------

1. Either run `composer require oriceon/toastr-5-laravel` or add `"oriceon/toastr-5-laravel": "dev-master"` to the `require` key in `composer.json` and run `composer install`
2. Add `'Kamaln7\Toastr\ToastrServiceProvider',` to the `providers` key in `config/app.php`
3. Add `'Toastr' => 'Kamaln7\Toastr\Facades\Toastr',` to the `aliases` key in `config/app.php`
2. Add `'Kamaln7\Toastr\ToastrServiceProvider',` to the `providers` key in `config/app.php` (optional for Laravel 5.5)
3. Add `'Toastr' => 'Kamaln7\Toastr\Facades\Toastr',` to the `aliases` key in `config/app.php` (optional for Laravel 5.5)

Usage
-----
Expand Down
12 changes: 11 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,15 @@
"Kamaln7\\Toastr\\": "src/"
}
},
"minimum-stability": "dev"
"minimum-stability": "dev",
"extra": {
"laravel": {
"providers": [
"Kamaln7\\Toastr\\ToastrServiceProvider"
],
"aliases": {
"Toastr": "Kamaln7\\Toastr\\Facades\\Toastr"
}
}
},
}

0 comments on commit d570b55

Please sign in to comment.