redgo/monitor-ding

用于向钉钉自定义机器人发送消息

0.4 2019-03-01 09:17 UTC

This package is auto-updated.

Last update: 2024-09-29 05:08:25 UTC


README

Laravel 插件,用于向钉钉自定义机器人发送消息

本插件通过中间件捕获异常,与 debugbar 使用相同的异常收集方式,因此不能共存;如果需要使用本插件,请确保 debugbar 是关闭的;

引入步骤

使用 composer 引入

composer require redgo/monitor-ding:^0.2

发布视图

php artisan vendor:publish

config/app.php 文件中添加

Redgo\MonitorDing\MonitorDingServiceProvider::class,

如果需要配置门面模式,在 config/app.php 文件中添加

'MonitorDing' => Redgo\MonitorDing\Facades\MonitorDing::class,

使用方法

  1. 在配置文件 config/monitorDing 中修改 webhook