PHPackages                             douyuxingchen/php-alarm - 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. douyuxingchen/php-alarm

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

douyuxingchen/php-alarm
=======================

飞书告警SDK

001PHP

Since Jan 15Pushed 2y agoCompare

[ Source](https://github.com/douyuxingchen/php-alarm)[ Packagist](https://packagist.org/packages/douyuxingchen/php-alarm)[ RSS](/packages/douyuxingchen-php-alarm/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

PHP飞书报警
=======

[](#php飞书报警)

欢迎使用飞书的php报警服务库，本库旨在为公司的项目提供一个方便、高效且易于使用的工具。

### 安装

[](#安装)

```
composer require "douyuxingchen/php-alarm"
```

### 更新

[](#更新)

```
composer update "douyuxingchen/php-alarm" --ignore-platform-reqs
```

使用指南
----

[](#使用指南)

### 默认机器人群组

[](#默认机器人群组)

```
  $content = [
      "环境: 123213",
      "标题: 商品合规检测通知-123123",
      "错误信息: 梳理考点福利卡上的",
      "渠道: 渠道名字",
      "店铺: 店铺",
  ];
  $content = implode("\n", $content);
  (new FeiShuAlarm())->defaultPushMessageAlarm('Test title', $content);
```

### 指定机器人群组发送

[](#指定机器人群组发送)

```
https://open.feishu.cn/open-apis/bot/v2/hook/cxsdffsdf06e-46b3-4402-aafd5-ce6e30125092
$groupId = 'cxsdffsdf06e-46b3-4402-aafd5-ce6e30125092';
(new FeiShuAlarm())->groupIdPushMessageAlarm($groupId,'标题', $content);
```

使用指南
----

[](#使用指南-1)

请参阅我们的完整[文档](docs)。

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 81.8% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/50bca77c709c1787142d32a6f1b3593fabae01591dd996f736ddae4a4618bf7a?d=identicon)[jefferyjob](/maintainers/jefferyjob)

![](https://www.gravatar.com/avatar/7f7f155636155a8a027c9a6cd5dac87b1129f1b8743af3d3e3c8b9aa113ec18d?d=identicon)[Songtingsen](/maintainers/Songtingsen)

---

Top Contributors

[![Songtingsen](https://avatars.githubusercontent.com/u/37103573?v=4)](https://github.com/Songtingsen "Songtingsen (9 commits)")[![jefferyjob](https://avatars.githubusercontent.com/u/24731115?v=4)](https://github.com/jefferyjob "jefferyjob (2 commits)")

### Embed Badge

![Health badge](/badges/douyuxingchen-php-alarm/health.svg)

```
[![Health](https://phpackages.com/badges/douyuxingchen-php-alarm/health.svg)](https://phpackages.com/packages/douyuxingchen-php-alarm)
```

###  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)
