PHPackages                             wanmigs/system-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wanmigs/system-check

ActivePackage[Utility &amp; Helpers](/categories/utility)

wanmigs/system-check
====================

A HTTP health check url that can be hit to perform basic application diagnostics

0659

Since Aug 1Compare

[ Source](https://github.com/wanmigs/health-check)[ Packagist](https://packagist.org/packages/wanmigs/system-check)[ RSS](/packages/wanmigs-system-check/feed)WikiDiscussions Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Overview
========

[](#overview)

- implement a HTTP health check API that can be hit to perform basic application diagnostics
- application instance health check
- application release health check

Setup Health Check
------------------

[](#setup-health-check)

```
use wanmigs\HealthCheck\SystemCheck;

$system = new SystemCheck();

```

Health Check API
----------------

[](#health-check-api)

### `$system->getStatus()`

[](#system-getstatus)

results :

```
{
    'status': 'OK'
    'timestamp': '2019-06-14T04:01:03Z00:00'
    'instance-id': ''
}

```

### `$system->getPhpInfo()`

[](#system-getphpinfo)

Details :

- php version
- php component checks

results :

```
{
    'timestamp': '2019-06-14T04:01:03Z00:00'
    'instance-id': ''
    'php-version': 'php7.2'
    'php-modules': [
        'mbstring',
        . . .
    ]
}

```

### `$system->getReleaseInfo()`

[](#system-getreleaseinfo)

Details :

- information stored from `build.json` generated from CI build

Defining `build.json` path
--------------------------

[](#defining-buildjson-path)

### Option 1

[](#option-1)

### env `GIT_BUILD_FILE_PATH`

[](#env-git_build_file_path)

### Option 2

[](#option-2)

### `$system->setBuildPath($path_to_build_json);`

[](#system-setbuildpathpath_to_build_json)

#### file resource :

[](#file-resource-)

`build.json`

```
{
    'start': '2019-06-14T04:01:03Z00:00'
    'end': '2019-06-14T04:01:03Z00:00',
    'status': 'SUCCESS',
    'branch': '',
    'release': '',
    'commit': '',
    'build': ''
    'config': ''
}

```

Laravel Setup Sample with database last migrations executed
-----------------------------------------------------------

[](#laravel-setup-sample-with-database-last-migrations-executed)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity37

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://avatars.githubusercontent.com/u/10176232?v=4)[wanmigs](/maintainers/wanmigs)[@wanmigs](https://github.com/wanmigs)

### Embed Badge

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

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

PHPackages © 2026

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