Sliverwing / laravel-exception-reporter by Sliverwing

35
2
2
Package Data
Maintainer Username: Sliverwing
Maintainer Contact: tlv591208510@gmail.com (Sliverwing)
Package Create Date: 2017-02-02
Package Last Update: 2018-06-25
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2025-02-06 03:15:55
Package Statistics
Total Downloads: 35
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

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