2021-08-31 22:28:29 +02:00
# Exception Handler
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Total Downloads][ico-downloads]][link-downloads]
Handles exceptions and send email when it does happen
2021-08-31 22:38:20 +02:00
It does send you a mail with anonymized debug data
2021-08-31 22:28:29 +02:00
## Installation
Via Composer
``` bash
$ composer require kwaadpepper/exception-handler
```
## Usage
2022-11-19 16:25:13 +01:00
- `php artisan handler:install`
2023-05-23 19:48:40 +02:00
- 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`
2021-08-31 22:28:29 +02:00
2022-11-19 16:25:13 +01:00
You can uninstall it by using `php artisan handler:remove` or just revert changes in Exception/Handler.php
2021-08-31 22:28:29 +02:00
## Change log
Please see the [changelog ](changelog.md ) for more information on what has changed recently.
2023-05-23 19:48:40 +02:00
# Todo
- Add other transmission possibilities (other than mail)
2021-08-31 22:28:29 +02:00
## Security
2022-11-19 16:25:13 +01:00
If you discover any security related issues, please email `github@jeremydev.ovh` instead of using the issue tracker.
2021-08-31 22:28:29 +02:00
## Credits
- [Jérémy Munsch][link-author]
## License
MIT. Please see the [license file ](license.md ) for more information.
[ico-version]: https://img.shields.io/packagist/v/kwaadpepper/exception-handler?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/kwaadpepper/exception-handler?style=flat-square
[link-packagist]: https://packagist.org/packages/kwaadpepper/exception-handler
[link-downloads]: https://packagist.org/packages/kwaadpepper/exception-handler
[link-author]: https://github.com/kwaadpepper