LaravelPackages.net
Acme Inc.
Toggle sidebar
sliverwing/exception-reporter-laravel

36
2
v0.2.5
About sliverwing/exception-reporter-laravel

sliverwing/exception-reporter-laravel is a Laravel package. It currently has 2 GitHub stars and 36 downloads on Packagist (latest version v0.2.5). Install it with composer require sliverwing/exception-reporter-laravel. Discover more Laravel packages by sliverwing or browse all Laravel packages to compare alternatives.

Last updated

Laravel Exception Reporter

Make exception Grate again 💪


Current Support:

  • Email
  • DingTalk Bot

Usage:

  • composer require "sliverwing/laravel-exception-reporter"
  • add Sliverwing\ExceptionReporter\ExceptionReporterServiceProvider::class to app.php
  • run php artisan vendor:publish --provider=ExceptionReporterServiceProvider
  • edit config/exception-reporter.php
  • run php artisan exp-reporter:dingtalk-bot:test or php artisan exp-reporter:mail:test to test out
  • edit app\Exceptions\Handler.php
    <?php
    
    namespace App\Exceptions;
    
    use Exception;
    use Illuminate\Auth\AuthenticationException;
    // use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
    use \Sliverwing\ExceptionReporter\ExceptionHandler;
    
  • run php artisan queue:work --tries=1

Star History Chart