shershon/alarm

There is no license information available for the latest version (v1.0.0) of this package.

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

v1.0.0 2024-08-21 09:20 UTC

This package is not auto-updated.

Last update: 2025-04-03 10:42:56 UTC


README

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

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.更新包版本

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