No description
Find a file
Jérémy Munsch 7a70b70931
Version 2.0.0
2023-05-23 19:48:40 +02:00
config Version 2.0.0 2023-05-23 19:48:40 +02:00
resources Multiline exception message in mail. 2022-06-14 16:08:19 +02:00
src Version 2.0.0 2023-05-23 19:48:40 +02:00
.editorconfig first working version 2021-08-31 22:28:29 +02:00
.gitignore remove .vscode 2022-11-19 16:23:01 +01:00
.styleci.yml first working version 2021-08-31 22:28:29 +02:00
changelog.md Version 2.0.0 2023-05-23 19:48:40 +02:00
composer.json Version 2.0.0 2023-05-23 19:48:40 +02:00
license.md first working version 2021-08-31 22:28:29 +02:00
phpcs.xml Version 2.0.0 2023-05-23 19:48:40 +02:00
phpunit.xml first working version 2021-08-31 22:28:29 +02:00
readme.md Version 2.0.0 2023-05-23 19:48:40 +02:00

Exception Handler

Latest Version on Packagist Total Downloads

Handles exceptions and send email when it does happen It does send you a mail with anonymized debug data

Installation

Via Composer

$ composer require kwaadpepper/exception-handler

Usage

  • php artisan handler:install
  • Change configuration in config/exception-handler.php if needed.
  • Put at least your team email in the above file in contactsList array or using .env put a list in EXCEPTION_MAIL_LIST. You can add emails separated with , like admin1@email.com,admin2@email.com

You can uninstall it by using php artisan handler:remove or just revert changes in Exception/Handler.php

Change log

Please see the changelog for more information on what has changed recently.

Todo

  • Add other transmission possibilities (other than mail)

Security

If you discover any security related issues, please email github@jeremydev.ovh instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.