ktith / laravel-exception-notifier
Installs: 82
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^8.0
- guzzlehttp/guzzle: ^7.0.1
Requires (Dev)
- laravel/framework: 9.*|10.*
README
DEMO
Enjoying this tool? Buy me a beer 🍺
Installation
Library
git clone https://github.com/ktith/laravel-exception-notifier.git
Composer
composer require ktith/aravel-exception-notifier
Usage
Simple used register event
Note: For laravel 11 you can register event in bootstrap/app.php
Basic usage Laravel 11
<?php use Ktith\Laravelexceptionnotifier\Events\ExceptionNotifier; // for Laravel 11 bootstrap/app.php // notify to notifire laravel 11 $exceptions->render(function (Exception $e){ event(new ExceptionNotifier($e)); });
Basic usage for Laravel 10, 9, 8, 7..
Note: For all these version you can register event in Handler.php
<?php use Ktith\Laravelexceptionnotifier\Events\ExceptionNotifier; // notify to notifire by regiser public function render($request, Throwable $exception) { event(new ExceptionNotifier($e)); return parent::render($request, $exception); }
Issues
If you come across any issues please report them here.
Contributing
Thank you for considering contributing to the this project! Please feel free to make any pull requests, or e-mail me a feature request you would like to see in the future to Tith khem at titkhem167@gmail.com.
Security Vulnerabilities
If you discover a security vulnerability within this project, please send an e-mail to Tith khem at titkhem167@gmail.com, or create a pull request if possible. All security vulnerabilities will be promptly addressed.