2017 © Pedro Peláez
 

library ding-error-notifier

ding chat error notifier for laravel

image

lidelin/ding-error-notifier

ding chat error notifier for laravel

  • Thursday, June 21, 2018
  • by lidelin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 328 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Ding Error Notifier

说明

此包来源于 lidelin/ding-error-notifier, (*1)

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'),
];

The Versions

21/06 2018

dev-master

9999999-dev

ding chat error notifier for laravel

  Sources   Download

MIT

The Requires

 

by Avatar lidelin

laravel error notifier ding chat

21/06 2018

v0.2.1

0.2.1.0

ding chat error notifier for laravel

  Sources   Download

MIT

The Requires

 

by Avatar lidelin

laravel error notifier ding chat

20/06 2018

v0.2.0

0.2.0.0

ding chat error notifier for laravel

  Sources   Download

MIT

The Requires

 

by Avatar lidelin

laravel error notifier ding chat

08/06 2018

v0.1.0

0.1.0.0

ding chat error notifier for laravel

  Sources   Download

MIT

The Requires

 

by Avatar lidelin

laravel error notifier ding chat