PHPackages                             lidelin/ding-error-notifier - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. lidelin/ding-error-notifier

ActiveLibrary

lidelin/ding-error-notifier
===========================

ding chat error notifier for laravel

v0.5.0(6y ago)05.9k2MITPHPPHP &gt;=7.1.3

Since Jun 8Pushed 6y ago1 watchersCompare

[ Source](https://github.com/lidelin/ding-error-notifier)[ Packagist](https://packagist.org/packages/lidelin/ding-error-notifier)[ RSS](/packages/lidelin-ding-error-notifier/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)Dependencies (2)Versions (8)Used By (0)

Ding Error Notifier
===================

[](#ding-error-notifier)

说明
==

[](#说明)

**此包来源于 [lidelin/ding-error-notifier](https://github.com/lidelin/ding-error-notifier)**

Requirements
------------

[](#requirements)

- PHP 7.1.3+
- Laravel 5.6+

Installation
============

[](#installation)

1. Install the package by running this command in your terminal/cmd:

```
composer require lidelin/ding-error-notifier
```

2. Because we use the [ding-notice](https://github.com/wowiwj/ding-notice), so we should configure ding-notice

```
php artisan vendor:publish --provider="DingNotice\DingNoticeServiceProvider"
```

3. 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)
    ],
];
```

4. publish config/notifier.php

```
php artisan vendor:publish --provider="LDL\DingErrorNotifier\DingErrorNotifierServiceProvider"
```

5. modify config/notifier.php

```
