PHPackages                             shershon/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. shershon/alarm

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

shershon/alarm
==============

基于 shershon/common包 封装的预警组件

v1.0.0(1y ago)05PHP

Since Aug 21Pushed 1y agoCompare

[ Source](https://github.com/shershon-php-package/alarm-component)[ Packagist](https://packagist.org/packages/shershon/alarm)[ RSS](/packages/shershon-alarm/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

1.预警组件
------

[](#1预警组件)

基于 shershon/common包 封装的预警组件，可以根据设定的日志级别，实时地触发报警（已支持 企信通知、短信通知、钉钉通知 等）。

2.安装
----

[](#2安装)

- 配置composer.json

```
{
  "require-dev": {
    "shershon/base": "^1.0.0"
  },
  "config": {
    "secure-http": false
  },
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/shershon-php-package/alarm-component.git"
    }
  ]
}
```

- composer require --ignore-platform-reqs shershon/alarm
- rm -rf vendor/shershon/alarm/.git

3.更新包版本
-------

[](#3更新包版本)

- composer require --ignore-platform-reqs shershon/alarm:1.0.0(替换成指定的版本)
- rm -rf vendor/shershon/alarm/.git

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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

Unknown

Total

1

Last Release

680d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58d8e7e825006e80833c8f3693a2b9a720af2f8af833b7faf3f442adf347207b?d=identicon)[xiaoshan](/maintainers/xiaoshan)

---

Top Contributors

[![shershon1991](https://avatars.githubusercontent.com/u/21358691?v=4)](https://github.com/shershon1991 "shershon1991 (6 commits)")

### Embed Badge

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

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

###  Alternatives

[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k455.6M9.5k](/packages/symfony-dependency-injection)[illuminate/contracts

The Illuminate Contracts package.

706130.3M13.2k](/packages/illuminate-contracts)[illuminate/container

The Illuminate Container package.

31182.0M2.4k](/packages/illuminate-container)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k49](/packages/ecotone-ecotone)[symfony/type-info

Extracts PHP types information.

20069.8M269](/packages/symfony-type-info)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k41](/packages/civicrm-civicrm-core)

PHPackages © 2026

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