Skip to content

Commit 0593c17

Browse files
committed
cleanup
1 parent 0bedb30 commit 0593c17

File tree

5 files changed

+34
-20
lines changed

5 files changed

+34
-20
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.{yml,yaml}]
15+
indent_size = 2

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,3 @@ packages/
5050
# Debug Files
5151
npm-debug.log
5252
yarn-error.log
53-

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ dist: trusty
44
group: edge
55

66
php:
7-
- 7.1
8-
- 7.2
7+
- 7.2.5
98
- 7.3
109

1110
sudo: false
@@ -26,7 +25,8 @@ before_script:
2625
- composer require jeremykenedy/laravel-exception-notifier
2726
- php artisan key:generate
2827
- php artisan vendor:publish --tag=laravelexceptionnotifier
29-
- php artisan make:auth
28+
- composer require laravel/ui --dev
29+
- php artisan ui vue --auth
3030
- composer dump-autoload
3131
- php artisan clear-compiled
3232

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
}
2424
],
2525
"require": {
26-
"php": ">=7.1.3"
26+
"php": "^7.2",
2727
},
2828
"require-dev": {
29-
"illuminate/support": "^5.8",
30-
"orchestra/testbench": "~3.0",
31-
"phpunit/phpunit": "^7.5",
32-
"laravel/laravel": "5.8.*"
29+
"illuminate/support": "^6.0.2",
30+
"orchestra/testbench": "^3.8.5",
31+
"phpunit/phpunit": "^8.3.4",
32+
"laravel/framework": "6.*|7.*"
3333
},
3434
"autoload": {
3535
"psr-4": {

readme.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,25 @@ Table of contents:
1616
- [License](#license)
1717

1818
## About
19-
Laravel exception notifier will send an email 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, 5.6, 5.7, and 5.8+.
19+
Laravel exception notifier will send an email 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, 5.6, 5.7, 5.8, 6, and 7+.
2020

2121
Get the errors and fix them before the client even reports them, that's why this exists!
2222

2323
## Requirements
24-
* [Laravel 5.2, 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6, & 7+](https://laravel.com/docs/installation)
24+
* [Laravel 5.2+, 6, or 7+](https://laravel.com/docs/installation)
2525

2626
## Installation Instructions
2727
1. From your projects root folder in terminal run:
2828

2929
Laravel 7+ use:
3030

31-
```
31+
```bash
3232
composer require jeremykenedy/laravel-exception-notifier
3333
```
3434

3535
Laravel 6 and below use:
3636

37-
```
37+
```bash
3838
composer require jeremykenedy/laravel-exception-notifier:1.2.0
3939
```
4040

@@ -45,19 +45,19 @@ Uses package auto discovery feature, no need to edit the `config/app.php` file.
4545
* Laravel 5.4 and below
4646
Register the package with laravel in `config/app.php` under `providers` with the following:
4747

48-
```
48+
```php
4949
jeremykenedy\laravelexceptionnotifier\LaravelExceptionNotifier::class,
5050
```
5151

5252
3. Publish the packages view, mailer, and config files by running the following from your projects root folder:
5353

54-
```
54+
```bash
5555
php artisan vendor:publish --tag=laravelexceptionnotifier
5656
```
5757

5858
4. In `App\Exceptions\Handler.php` include the additional following classes in the head:
5959

60-
```
60+
```php
6161
use App\Mail\ExceptionOccured;
6262
use Illuminate\Support\Facades\Log;
6363
use Mail;
@@ -67,7 +67,7 @@ Register the package with laravel in `config/app.php` under `providers` with the
6767

6868
5. In `App\Exceptions\Handler.php` replace the `report()` method with:
6969
70-
```
70+
```php
7171
/**
7272
* Report or log an exception.
7373
*
@@ -95,7 +95,7 @@ Register the package with laravel in `config/app.php` under `providers` with the
9595
9696
6. In `App\Exceptions\Handler.php` add the method `sendEmail()`:
9797
98-
```
98+
```php
9999
/**
100100
* Sends an email upon exception.
101101
*
@@ -123,9 +123,9 @@ Register the package with laravel in `config/app.php` under `providers` with the
123123
124124
* **Note:** the defaults for these are located in `config/exception.php`
125125
126-
```
126+
```bash
127127
EMAIL_EXCEPTION_ENABLED=false
128-
EMAIL_EXCEPTION_FROM='email@email.com'
128+
EMAIL_EXCEPTION_FROM="${MAIL_FROM_ADDRESS}"
129129
EMAIL_EXCEPTION_TO='email1@gmail.com, email2@gmail.com'
130130
EMAIL_EXCEPTION_CC=''
131131
EMAIL_EXCEPTION_BCC=''

0 commit comments

Comments
 (0)