PHPackages                             marko/health - 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. [Framework](/categories/framework)
4. /
5. marko/health

ActiveMarko-module[Framework](/categories/framework)

marko/health
============

Health check interfaces and infrastructure for Marko Framework

0.7.0(3w ago)07MITPHPPHP ^8.5

Since Mar 25Pushed 2w agoCompare

[ Source](https://github.com/marko-php/marko-health)[ Packagist](https://packagist.org/packages/marko/health)[ RSS](/packages/marko-health/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependencies (20)Versions (18)Used By (0)

marko/health
============

[](#markohealth)

Production health monitoring --- exposes a `/health` endpoint with configurable checks for your load balancer and monitoring tools.

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

[](#installation)

```
composer require marko/health
```

Quick Example
-------------

[](#quick-example)

```
use Marko\Health\Contracts\HealthCheckInterface;
use Marko\Health\Value\HealthResult;
use Marko\Health\Value\HealthStatus;

class RedisHealthCheck implements HealthCheckInterface
{
    public function getName(): string
    {
        return 'redis';
    }

    public function check(): HealthResult
    {
        return new HealthResult(
            name: $this->getName(),
            status: HealthStatus::Healthy,
            message: 'Redis connection successful',
            metadata: [],
            duration: 0.001,
        );
    }
}
```

Documentation
-------------

[](#documentation)

Full usage, API reference, and examples: [marko/health](https://marko.build/docs/packages/health/)

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance95

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

Every ~4 days

Recently: every ~16 days

Total

16

Last Release

27d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/437029?v=4)[Mark Shust](/maintainers/markshust)[@markshust](https://github.com/markshust)

---

Top Contributors

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

###  Code Quality

TestsPest

### Embed Badge

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

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

PHPackages © 2026

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