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

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

govigilant/statamic-healthchecks
================================

A Statamic addon to integrate healthchecks to your application which are compatible with Vigilant

1.1.0(5mo ago)014MITBladePHP ^8.3CI passing

Since Dec 3Pushed 5mo agoCompare

[ Source](https://github.com/govigilant/statamic-healthchecks)[ Packagist](https://packagist.org/packages/govigilant/statamic-healthchecks)[ Docs](https://govigilant.io)[ RSS](/packages/govigilant-statamic-healthchecks/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (16)Versions (4)Used By (0)

[ ![Banner](./art/banner.png)](https://github.com/govigilant/vigilant "Vigilant")Vigilant Statamic Healthchecks
==============================

[](#vigilant-statamic-healthchecks)

 [![Tests](https://camo.githubusercontent.com/4c9b4eb81da69d0b8345f5ff63a809bcbba253e40b8a18f6a927e644968edb99/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f676f766967696c616e742f73746174616d69632d6865616c7468636865636b732f74657374732e796d6c3f6c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/govigilant/statamic-healthchecks) [![Analysis](https://camo.githubusercontent.com/4db2cf03bc9fba70835da422b6567fac6136589751e8192aa31cd5f2d5c6f15c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f676f766967696c616e742f73746174616d69632d6865616c7468636865636b732f616e616c7973652e796d6c3f6c6162656c3d616e616c79736973267374796c653d666c61742d737175617265)](https://github.com/govigilant/statamic-healthchecks) [![Style](https://camo.githubusercontent.com/04ced6fcf8b3be1ca1ac5927bea8e18da86a8ef53b7e47ff63d071717dca44b6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f676f766967696c616e742f73746174616d69632d6865616c7468636865636b732f7374796c652e796d6c3f6c6162656c3d7374796c65267374796c653d666c61742d737175617265)](https://github.com/govigilant/statamic-healthchecks) [![Total downloads](https://camo.githubusercontent.com/4a6fe53a58a6dce36693f8f01968b1c6b5fb0f85ebde2c7db76d3b78a8fa419e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f676f766967696c616e742f73746174616d69632d6865616c7468636865636b733f636f6c6f723d626c7565267374796c653d666c61742d737175617265)](https://packagist.org/packages/govigilant/statamic-healthchecks)

An addon that adds healthchecks to any Statamic application and integrates seamlessly with [Vigilant](https://github.com/govigilant/vigilant). It extends the [Vigilant Laravel Healthchecks](https://github.com/govigilant/laravel-healthchecks) package and adds Statamic specific checks.

Features
--------

[](#features)

This package providers an API endpoint to check the health of your Statamic application. It returns two types of checks, health checks and metrics. Healthchecks are checks that indicate whether a specific part of your application is functioning correctly, while metrics provide numeric values that give insights on health over time. [Vigilant](https://github.com/govigilant/vigilant) can use these metrics to notify you of spikes or quickly increasing metrics.

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

[](#installation)

Install the package via Composer:

```
composer require govigilant/statamic-healthchecks
```

Configuration
-------------

[](#configuration)

Set the API token in your `.env` file:

```
VIGILANT_HEALTHCHECK_TOKEN=your-vigilant-api-key-here
```

> **Note:** The token is required to access the health endpoint.

Optionally publish the configuration if ou want to adjust default behavior:

```
php artisan vendor:publish --provider="Vigilant\LaravelHealthchecks\ServiceProvider"
```

This creates `config/vigilant-healthchecks.php`.

### Scheduler

[](#scheduler)

This package automatically schedules a command and a job to verify if your sheduler and queue workers are running. If you do not want or want to customize this behavior, you can disable the automatic scheduling in the config file by setting `schedule` to `false`.

Ensure to schedule the `php artisan vigilant:scheduler-heartbeat` yourself if you disable automatic scheduling.

Usage and customization
-----------------------

[](#usage-and-customization)

Please refer to the [Vigilant Laravel Healthchecks Readme](https://github.com/govigilant/laravel-healthchecks) for usage and customization instructions.

Available checks
----------------

[](#available-checks)

All Laravel checks in [Vigilant Laravel Healthchecks](https://github.com/govigilant/laravel-healthchecks) are available, plus the following Statamic specific checks:

CheckDescription**StacheCheck**Verifies that the stache is builtDevelopment Environment
-----------------------

[](#development-environment)

A ready-to-use Docker-based development environment lives in `devenv/`. Ensure Docker is running, then start the stack: `docker compose -f devenv/docker-compose.yml up --build`.

This will create a Statamic application and link this package for development. The bearer token is set to `testing` and can be used to access the health endpoint:

```
curl -X POST "http://localhost:8000/api/vigilant/health" \
  -H "Authorization: Bearer testing" \
  -H "Content-Type: application/json"
```

You may use the following credentials to log in to the Statamic control panel at `http://localhost:8000/cp`:

- Email: `admin@govigilant.io`
- Password: `admin`

Quality
-------

[](#quality)

Run the quality checks:

```
composer quality
```

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Vincent Boon](https://github.com/VincentBean)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance73

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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 ~101 days

Total

2

Last Release

155d ago

PHP version history (2 changes)1.0.0PHP ^8.2

1.1.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/f21e3a721fc25c880371c5d3af4925fe83e4b9d425bf50a2cbce18ee1af45931?d=identicon)[vincentbean](/maintainers/vincentbean)

---

Top Contributors

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

---

Tags

statamichealthchecksvigilant

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[statamic/seo-pro

71548.3k](/packages/statamic-seo-pro)[statamic/statamic

Statamic

832182.1k](/packages/statamic-statamic)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

137236.2k8](/packages/statamic-rad-pack-runway)[rias/statamic-redirect

29347.4k](/packages/rias-statamic-redirect)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3622.8k](/packages/duncanmcclean-statamic-cargo)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

23122.2k16](/packages/marcorieser-statamic-livewire)

PHPackages © 2026

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