lidelin/ding-error-notifier

ding chat error notifier for laravel
5,878
Install
composer require lidelin/ding-error-notifier
Latest Version:v0.5.0
PHP:>=7.1.3
License:MIT
Last Updated:Apr 20, 2020
Links: GitHub  ·  Packagist
Maintainer: lidelin

Ding Error Notifier

说明

此包来源于 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'),
];

Related Packages

sumiansz/laravel-dingtalk-error-notifier

DingTalk chat error notifier for Laravel.

1,002 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

641,106,524 9,700
laravel/framework

The Laravel Framework.

593,882,149 34,959
laravel/tinker

Powerful REPL for the Laravel framework.

502,645,077 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

418,291,778 609

Version History

Version Released PHP Laravel License
v0.5.0 >=7.1.3 ^5.5 | ^6.0 MIT
v0.4.0 >=7.1.3 ^5.5 MIT
0.3.1 >=7.1.3 ^5.5 MIT
v0.3.0 >=7.1.3 ^5.5 MIT
v0.2.1 >=7.0 ^5.5 MIT