PHPackages                             jooohnnny/healthchecks - 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. jooohnnny/healthchecks

ActiveLibrary

jooohnnny/healthchecks
======================

business monitor

02PHP

Since Aug 6Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Healthchecks 健康检查
=================

[](#healthchecks-健康检查)

基于 [Healthchecks](https://github.com/healthchecks/healthchecks) 实现的自主调动 ping（心跳监控）， 来监听已经事先设置好的各种 cron 作业、api 健康监控。

安装
--

[](#安装)

### 环境要求

[](#环境要求)

- php 7.4+
- guzzlehttp 7.0.1+

### 安装需要的 composer 包

[](#安装需要的-composer-包)

```
composer require jooohnnny/healthchecks
```

### 使用命令复制需要的配置文件

[](#使用命令复制需要的配置文件)

```
php artisan vendor:publish --provider="Jooohnnny\Healthchecks\HealthchecksProvider"
```

使用
--

[](#使用)

### Healthchecks 中获取提前设置好的uuid, 放到指定模块中

[](#healthchecks-中获取提前设置好的uuid-放到指定模块中)

```
 env('HEALTHCHECKS_BASE_URL', 'https://hc-ping.com'),
    'modules'  => [
        'default' => [
            'uuid' => env('HEALTHCHECKS_DEFAULT_UUID', ''),
        ],
    ],
];
```

### 在对应的业务中调用，一般在所有逻辑走完使用

[](#在对应的业务中调用一般在所有逻辑走完使用)

```
ping('default');

或者

app(Healthchecks::class)->ping('default')
```

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

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/b9ba3d32a6ef832673fb7fa298c3195ce314dc589c962e6c75a41611e61bb2e1?d=identicon)[jooohnnny](/maintainers/jooohnnny)

### Embed Badge

![Health badge](/badges/jooohnnny-healthchecks/health.svg)

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

PHPackages © 2026

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