PHPackages                             ailose/exception-alert - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. ailose/exception-alert

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

ailose/exception-alert
======================

errors alert for developers;

v1.0.5(7y ago)11.8kMITPHPPHP &gt;=7.0

Since Mar 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ailose/exception-alert)[ Packagist](https://packagist.org/packages/ailose/exception-alert)[ RSS](/packages/ailose-exception-alert/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (1)Versions (6)Used By (0)

钉钉推送异常告警
========

[](#钉钉推送异常告警)

介绍
==

[](#介绍)

进行监控和提醒操作

要求
==

[](#要求)

- php版本:&gt;=7.0
- laravel版本: Laravel5.5+

安装
==

[](#安装)

```
composer require ailose/exception-alert
```

在laravel项目中使用
=============

[](#在laravel项目中使用)

安装成功后执行

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

会自动将`ding.php`添加到您项目的配置文件当中

相关配置
====

[](#相关配置)

### 钉钉启用开关

[](#钉钉启用开关)

(可选)默认为开启

```
DING_ENABLED=true
```

### 钉钉的推送token

[](#钉钉的推送token)

- (必选)发送钉钉机器人的token，即在您创建机器人之后的access\_token
- 钉钉推送链接:[https://oapi.dingtalk.com/robot/send?access\_token=you-push-token](https://oapi.dingtalk.com/robot/send?access_token=you-push-token)

```
DING_TOKEN=you-push-token
```

### Inspire And Thanks

[](#inspire-and-thanks)

[wowiwj/ding-notice ](https://github.com/wowiwj/ding-notice)

publish the config file:

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

### 配置

[](#配置)

config/ding.php

```
        'DING_SIMPLE' => env('DING_SIMPLE'),
        'DING_TITLE' => env('DING_TITLE'),
        'DING_WORKERS' => env('DING_WORKERS'),

```

.env

```
#dingding

DING_ENABLED=true
DING_TOKEN=your token
DING_TIME_OUT=2.0
DING_SIMPLE=simple  #(or normal)
DING_WORKERS=phone numbers #(155xxx,156xxx 多个号码逗号隔开)

```

app/Exceptions/Handler.php 添加

```
 public function report(Exception $exception)
    {
        ExceptionAlertHelper::notify($exception);
        parent::report($exception);
    }

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

2619d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80ad6a3f472d8ec1ed8932a0a2e34625ad2a819e679a9cc53fa65beae480f49e?d=identicon)[ailose](/maintainers/ailose)

---

Top Contributors

[![ailose](https://avatars.githubusercontent.com/u/19771197?v=4)](https://github.com/ailose "ailose (1 commits)")

### Embed Badge

![Health badge](/badges/ailose-exception-alert/health.svg)

```
[![Health](https://phpackages.com/badges/ailose-exception-alert/health.svg)](https://phpackages.com/packages/ailose-exception-alert)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
