2017 © Pedro Peláez
 

library dingtalk-exception

Laravel exception notify through DingTalk

image

wujunze/dingtalk-exception

Laravel exception notify through DingTalk

  • Friday, July 27, 2018
  • by wujunze
  • Repository
  • 1 Watchers
  • 9 Stars
  • 69 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

dingtalk-exception

Laravel/Lumen exception notify through DingTalk, (*1)

Latest Stable Version Total Downloads License, (*2)

Inspire And Thanks

cblink/bearychat-exception
wowiwj/ding-notice , (*3)

Install

composer require wujunze/dingtalk-exception, (*4)

Add the service provider to the providers array in config/app.php:, (*5)

DingNotice\DingNoticeServiceProvider::class,, (*6)

publish the config file:, (*7)

php artisan vendor:publish --provider="DingNotice\DingNoticeServiceProvider", (*8)

Usage

fix file app/Exceptions/Handler.php, (*9)


use Wujunze\DingTalkException\DingTalkExceptionHelper; class Handler extends ExceptionHandler { // ... public function report(Exception $exception) { DingTalkExceptionHelper::notify($exception); parent::report($exception); } }

file, (*10)

Config

simple type, (*11)


use Wujunze\DingTalkException\DingTalkExceptionHelper; class Handler extends ExceptionHandler { // ... public function report(Exception $exception) { DingTalkExceptionHelper::notify($exception, true); parent::report($exception); } }

The Versions

27/07 2018

dev-master

9999999-dev

Laravel exception notify through DingTalk

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar wujunze

27/07 2018

1.1

1.1.0.0

Laravel exception notify through DingTalk

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar wujunze

26/07 2018

1.0

1.0.0.0

Laravel exception notify through DingTalk

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar wujunze