New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

wt-health/laravel-health-check

Check versions of vital parts of the application
26,932
Install
composer require wt-health/laravel-health-check
Latest Version:v2.0.0
PHP:^8.3
Laravel:12 · 13
Older releases:9 · 10 · 11
License:MIT
Last Updated:Oct 8, 2026
Links: GitHub  ·  Packagist
Maintainer: webtoolshealth

Laravel Health Check

Test CI

Adds custom version check based on spatie/laravel-health

Installation & Configuration

 composer require wthealth/laravel-health-check

To have logs and metrics logged in Datadog, you must schedule health check command on your setup.

serverless.yaml

    artisan:
        handler: artisan
        runtime: php-83-console
        timeout: 720 # in seconds
        layers:
            - ${bref-extra:gd-php-83}
            - ${bref-extra:redis-php-83}
        events:
            - schedule:
                  rate: rate(12 hours)
                  input: '"health:check"'

Usage

You may configure these environment variable below accordingly

HEALTH_API_ROUTE_ENABLED= # enable /health-check endpoint - default: false
HEALTH_API_KEY= # used to secure /health-check endpoint
HEALTH_API_PACKAGES= # packages ( comma separated ) to have its versions checked

You can health check either accessing /health-check endpoint or running php artisan health:list --fresh

A schedule job runs every day and output logs that are ingested by Datadog

License

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

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664

Version History

Version Released PHP Laravel License
v2.0.0 ^8.3 ^12.0|^13.0 MIT
v1.1.0 ^8.3|^8.4 ^11.0|^12.0 MIT
v1.0.1 ^8.2|^8.3 ^9.0|^10.0|^11.0 MIT
v1.0.0 ^8.2|^8.3 ^9.0|^10.0|^11.0 MIT