项目作者: Sliverwing

项目描述 :
☂️ Exception Messaging Package For Laravel
高级语言: PHP
项目地址: git://github.com/Sliverwing/laravel-exception-reporter.git
创建时间: 2017-02-02T14:35:49Z
项目社区:https://github.com/Sliverwing/laravel-exception-reporter

开源协议:

下载


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

    1. <?php
    2. namespace App\Exceptions;
    3. use Exception;
    4. use Illuminate\Auth\AuthenticationException;
    5. // use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
    6. use \Sliverwing\ExceptionReporter\ExceptionHandler;
  • run php artisan queue:work --tries=1