Skip to content

Commit

Permalink
add auto discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremykenedy committed Sep 4, 2017
1 parent 08517ac commit 499a78b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
10 changes: 10 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,15 @@
"psr-4": {
"jeremykenedy\\laravelexceptionnotifier\\": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"jeremykenedy\\laravelexceptionnotifier\\LaravelExceptionNotifier"
]
}
},
"config": {
"sort-packages": true
}
}
11 changes: 8 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

## Introduction

Laravel exception notifier will send an email of of the error along with the stack trace to the chosen recipients. [This Package](https://packagist.org/packages/jeremykenedy/laravel-exception-notifier) includes all necessary traits, views, configs, and Mailers for email notifications upon your applications exceptions. You can customize who send to, cc to, bcc to, enable/disable, and custom subject or default subject based on environment. Built for Laravel 5.2, 5.3, and 5.4+.
Laravel exception notifier will send an email of of the error along with the stack trace to the chosen recipients. [This Package](https://packagist.org/packages/jeremykenedy/laravel-exception-notifier) includes all necessary traits, views, configs, and Mailers for email notifications upon your applications exceptions. You can customize who send to, cc to, bcc to, enable/disable, and custom subject or default subject based on environment. Built for Laravel 5.2, 5.3, 5.4, 5.5+.

## Requirements

* [Laravel 5.2, 5.3, or 5.4 or newer](https://laravel.com/docs/installation)
* [Laravel 5.2, 5.3, 5.4, or 5.5+](https://laravel.com/docs/installation)

## Installation

Expand All @@ -20,7 +20,12 @@ Laravel exception notifier will send an email of of the error along with the sta
composer require jeremykenedy/laravel-exception-notifier
```
2. Register the package with laravel in `config/app.php` under `providers` with the following:
2. Register the package
* Laravel 5.5 and up
Uses package auto discovery feature, no need to edit the `config/app.php` file.
* Laravel 5.4 and below
Register the package with laravel in `config/app.php` under `providers` with the following:
```
jeremykenedy\laravelexceptionnotifier\LaravelExceptionNotifier::class,
Expand Down

0 comments on commit 499a78b

Please sign in to comment.