PHPackages                             shippinno/heartbeat - 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. shippinno/heartbeat

ActiveLibrary

shippinno/heartbeat
===================

v2.0.0(4y ago)01.7kPHPPHP ^7.4

Since Nov 29Pushed 2y ago4 watchersCompare

[ Source](https://github.com/shippinno/heartbeat-php)[ Packagist](https://packagist.org/packages/shippinno/heartbeat)[ RSS](/packages/shippinno-heartbeat/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (4)Versions (6)Used By (0)

Heartbeat
=========

[](#heartbeat)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/cd63b92cea80341b79320ffc0ecaf10a6ef2f4b62bd39ee669b5dd547c8fc1e6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368697070696e6e6f2f6865617274626561742d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/shippinno/heartbeat-php/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/5b6b99827ecca7fc775b0ba73d2be6f393c24936585e8ed31557b0fd62d2d03e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368697070696e6e6f2f6865617274626561742d7068702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/shippinno/heartbeat-php/?branch=master)[![Build Status](https://camo.githubusercontent.com/399812a4f317ef9aef057d36c96cc9f1b3a678608aaf9780cd04436608d8607b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368697070696e6e6f2f6865617274626561742d7068702f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/shippinno/heartbeat-php/build-status/master)

Let the stuff heartbeat and monitor if it is alive.

Currently it only supports [Dead Man's Snitch](https://deadmanssnitch.com/).

Installation
------------

[](#installation)

```
$ composer require shippinno/heartbeat
```

Usage
-----

[](#usage)

Set up a Heartbeater singleton, with a heart and channels.

```
$heartbeater = Heartbeater::instance();
$heartbeater->setHeart(new DeadMansSnitchHeart(new Client);
$heartbeater->setChannels([
    'vital' => 'SNITCH_TOKEN',
]);
```

Let it heartbeat forever.

```
class Dude
{
    public function live()
    {
        $alive = true;
        while ($alive) {
            Heartbeat::instance()->heartbeat('vital');
            sleep(1);
        }
    }
}
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~371 days

Total

4

Last Release

1610d ago

Major Versions

v1.0.2 → v2.0.02021-12-15

PHP version history (2 changes)v1.0.0PHP &gt;=7.1

v2.0.0PHP ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c0c43c3f3e8303e9cbefffe9886a7f7b4f4f05f76c756f7b654c8d1d30d6d79?d=identicon)[tanigami](/maintainers/tanigami)

![](https://www.gravatar.com/avatar/398e46df56f8428891ac5447f9dccf4a12c1dc183e6988449ebb4d39d102ab68?d=identicon)[yfhub](/maintainers/yfhub)

---

Top Contributors

[![tanigami](https://avatars.githubusercontent.com/u/86785?v=4)](https://github.com/tanigami "tanigami (7 commits)")[![yfhub](https://avatars.githubusercontent.com/u/22097897?v=4)](https://github.com/yfhub "yfhub (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/shippinno-heartbeat/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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