tiendanube / laravel-health-check
There is no license information available for the latest version (v3.0.0) of this package.
Provides monitoring for the key components of your laravel app.
Package info
github.com/TiendaNube/laravel-health-check
pkg:composer/tiendanube/laravel-health-check
v3.0.0
2023-04-03 20:29 UTC
Requires
- php: ^8.0
- illuminate/support: ^9.0
This package is not auto-updated.
Last update: 2026-03-17 10:45:28 UTC
README
Allows your Laravel app to run health checks on itself
Usage
- Add to Composer:
- Repositories:
{ "type": "vcs", "url": "git@github.com:npmweb/laravel-health-check" }, - Dependencies:
"npmweb/laravel-health-check": "dev-master@dev", composer update
- Repositories:
- Add service provider:
app.php
'providers' => array(
...
'NpmWeb\LaravelHealthCheck\LaravelHealthCheckServiceProvider',
);
- Add route for the health check controller:
routes.php
Route::resource(
'monitor/health',
'NpmWeb\LaravelHealthCheck\Controllers\HealthCheckController',
['only' => ['index','show']]
);
- Configure the health checks:
php artisan config:publish npmweb/laravel-health-check- Edit
app/config/packages/npmweb/laravel-health-check/config.php
For information on each health check, see comments in the appropriate class under src/NpmWeb/LaravelHealthCheck/Checks.