patrickfischer / laravel-healthcheck
Package info
github.com/zero0cool0/laravel-healthcheck
pkg:composer/patrickfischer/laravel-healthcheck
Fund package maintenance!
1.4.1
2026-10-08 04:40 UTC
Requires
- php: >=8.2
- illuminate/support: ^11.0|^12.0|^13.0
Requires (Dev)
- larastan/larastan: ^3.0
- orchestra/testbench: ^11.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
A simple Laravel package that simplifies Docker health check.
Installation
Install it with composer:
composer require patrickfischer/laravel-healthcheck
Update your Docker health check script to curl the newly registered route /ping, or whatever you declare in config('laravel-healthcheck.route') The following is an example health check script, please update your own implementation:
#!/usr/bin/env bash set -e if [ $(curl -o /dev/null -L -s -w "%{http_code}\n" http://localhost/ping) = "200" ]; then exit 0 else exit 1 fi
License
MIT