tmsllc / laravel-exception-mail
This package will allow you to specify email addresses to send them all the exceptions that occurs in Laravel application.
Installs: 1 394
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.0
- illuminate/support: ^8.71|^9.0
Requires (Dev)
- orchestra/testbench: ^6.23|^7.0
- phpunit/phpunit: ^9.4
README
This package will allow you to specify email addresses to send them all the exceptions that occurs in Laravel application.
Contact Me
You can check all of my information by Checking my website.
Installation
You can install the package via composer:
composer require tmsllc/laravel-exception-mail
The package will automatically register itself.
You must publish the config with:
php artisan vendor:publish --provider="TMSLLC\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' => [ //'developer1@companydomain.com', //'developer2@companydomain.com', ], ];
If you would like to change the email template you can publish the blade email template with:
php artisan vendor:publish --provider="TMSLLC\ExceptionMail\ExceptionMailServiceProvider" --tag="blade"
The blade template will be published at resources/views/emails/exception-mail.blade.php
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
You are welcome to contribute
Credits
License
The MIT License (MIT). Please see License File for more information.