PHPackages                             richbarrett/health-check - 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. richbarrett/health-check

ActiveLibrary

richbarrett/health-check
========================

Very lightweight tool for checking some server level health data (designed to work with Ubuntu)

019PHP

Since Dec 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/richbarrett7/HealthCheck)[ Packagist](https://packagist.org/packages/richbarrett/health-check)[ RSS](/packages/richbarrett-health-check/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Introduction
============

[](#introduction)

This is a very lightweight tool for checking some server health metrics (designed to work with Ubuntu).

Methods available
=================

[](#methods-available)

- diskSpacePercentageUsed
- diskSpaceFree
- diskSpaceTotal
- diskSpaceUsed
- memoryInfo
- totalMemory
- memoryPhysicallyFree
- memoryPhysicallyUsed
- memoryUsedPercentage
- loadAverages

Installation
============

[](#installation)

You can install this with composer: `composer require richbarrett/HealthCheck`

Usage
=====

[](#usage)

```
include_once('vendor/autoload.php');
$hc = new \richbarrett\HealthCheck\HealthCheck;
echo 'Disk currently '. $hc->diskSpacePercentageUsed().'% full ('.$hc->diskSpaceFree().'gb available)';
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/198626cb4c52feff8c059ebc5344389c1e6351c936dcc6164713da28a6e88a64?d=identicon)[richbarrett](/maintainers/richbarrett)

---

Top Contributors

[![richbarrett7](https://avatars.githubusercontent.com/u/5858993?v=4)](https://github.com/richbarrett7 "richbarrett7 (5 commits)")

### Embed Badge

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

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

PHPackages © 2026

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