46 lines
1.5 KiB
Markdown
46 lines
1.5 KiB
Markdown
# 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
|
|
It does send you a mail with anonymized debug data
|
|
|
|
## Installation
|
|
|
|
Via Composer
|
|
|
|
``` bash
|
|
$ composer require kwaadpepper/exception-handler
|
|
```
|
|
|
|
## Usage
|
|
|
|
- `php artisan handler:install`
|
|
- `php artisan vendor:publish --provider "Kwaadpepper\\ExceptionHandler\\ExceptionHandlerServiceProvider" --tag config`
|
|
- Change configuration in `config/exception-handler.php`
|
|
- put at least your team email in the above file in `contactsList` array
|
|
|
|
You can uninstall it by using `php artisan handler:remove` or just revert changes in Exception/Handler.php
|
|
## Change log
|
|
|
|
Please see the [changelog](changelog.md) for more information on what has changed recently.
|
|
|
|
## Security
|
|
|
|
If you discover any security related issues, please email `github@jeremydev.ovh` instead of using the issue tracker.
|
|
|
|
## 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
|