This package will allow you to specify email addresses to send them all the exceptions that occurs in Laravel application.
You can check all of my information by Checking my website.
You can install the package via composer:
composer require fahedaljghine/laravel-exception-mail
The package will automatically register itself.
You must publish the config with:
php artisan vendor:publish --provider="Fahedaljghine\ExceptionMail\ExceptionMailServiceProvider" --tag="config"
This is the contents of the file which will be published at config/exception-mail.php
return [
/*
* enable or disable the package
*/
'enabled' => true,
/*
* Add email addresses you want them to receive the exception
*/
'addresses' => [
//'[email protected]',
//'[email protected]',
],
];
If you would like to change the email template you can publish the blade email template with:
php artisan vendor:publish --provider="Fahedaljghine\ExceptionMail\ExceptionMailServiceProvider" --tag="blade"
The blade template will be published at resources/views/emails/exception-mail.blade.php
Please see CHANGELOG for more information what has changed recently.
You are welcome to contribute
The MIT License (MIT). Please see License File for more information.