ding chat error notifier for laravel

ding chat error notifier for laravel

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="DingNoticeDingNoticeServiceProvider"
  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)
    ],
];

Source

Add a Comment

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *