lidelin/ding-error-notifier 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lidelin/ding-error-notifier

Composer 安装命令:

composer require lidelin/ding-error-notifier

包简介

ding chat error notifier for laravel

README 文档

README

说明

此包来源于 lidelin/ding-error-notifier

Requirements

  • PHP 7.1.3+
  • Laravel 5.6+

Installation

  1. Install the package by running this command in your terminal/cmd:
composer require lidelin/ding-error-notifier
  1. Because we use the ding-notice, so we should configure ding-notice
php artisan vendor:publish --provider="DingNotice\DingNoticeServiceProvider"
  1. add below configs in app/ding.php
return [
    ...

    'error-notifier' => [
        'enabled' => env('DING_ERROR_NOTIFIER_ENABLED', true),

        'token' => env('DING_ERROR_NOTIFIER_DING_TOKEN', ''),

        'timeout' => env('DING_ERROR_NOTIFIER_DING_TIME_OUT', 2.0)
    ],
];
  1. publish config/notifier.php
php artisan vendor:publish --provider="LDL\DingErrorNotifier\DingErrorNotifierServiceProvider"
  1. modify config/notifier.php
<?php

return [
    /*
    |--------------------------------------------------------------------------
    | notifier name
    |--------------------------------------------------------------------------
    */
    'name' => env('NOTIFIER_NAME', 'ding'),

    /*
    |--------------------------------------------------------------------------
    | error notify level
    |--------------------------------------------------------------------------
    */
    'level' => env('NOTIFIER_LEVEL', 'error'),

    /*
    |--------------------------------------------------------------------------
    | ding channel, you can config in ding.php
    |--------------------------------------------------------------------------
    */
    'ding_channel' => env('NOTIFIER_DING_CHANNEL', 'error-notifier'),
];

统计信息

  • 总下载量: 5.88k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-06-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固