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(1mo ago)014MITBladePHP ^8.3CI passing

Since Dec 3Pushed 1mo 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 1mo 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

41

—

FairBetter than 89% of packages

Maintenance89

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

58d 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

[visuellverstehen/statamic-classify

A useful helper to add CSS classes to all HTML tags generated by the bard editor.

20116.8k](/packages/visuellverstehen-statamic-classify)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

2381.5k10](/packages/marcorieser-statamic-livewire)[withcandour/aardvark-seo

Save time and get your Statamic site to rank better with the SEO addon for Statamic.

13128.3k](/packages/withcandour-aardvark-seo)[aerni/livewire-forms

A Statamic forms framework powered by Laravel Livewire

2912.8k](/packages/aerni-livewire-forms)[mitydigital/feedamic

A fully-featured RSS and Atom feed generator for Statamic.

1064.0k](/packages/mitydigital-feedamic)[mitydigital/sitemapamic

An XML sitemap generator for Statamic that includes all collections and related taxonomy pages.

1485.2k](/packages/mitydigital-sitemapamic)

PHPackages © 2026

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