sliverwing / exception-reporter-laravel
v0.2.5
2018-06-25 15:00 UTC
Requires
- guzzlehttp/guzzle: ~6.0
This package is not auto-updated.
Last update: 2025-02-02 04:22:39 UTC
README
Make exception Grate again 💪
Current Support:
- 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
orphp 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