Package Data | |
---|---|
Maintainer Username: | Fonso |
Package Create Date: | 2017-03-29 |
Package Last Update: | 2023-04-03 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2025-01-28 15:01:04 |
Package Statistics | |
---|---|
Total Downloads: | 32,912 |
Monthly Downloads: | 407 |
Daily Downloads: | 11 |
Total Stars: | 1 |
Total Watchers: | 86 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Allows your Laravel app to run health checks on itself
{ "type": "vcs", "url": "git@github.com:npmweb/laravel-health-check" },
"npmweb/laravel-health-check": "dev-master@dev",
composer update
app.php
'providers' => array(
...
'NpmWeb\LaravelHealthCheck\LaravelHealthCheckServiceProvider',
);
routes.php
Route::resource(
'monitor/health',
'NpmWeb\LaravelHealthCheck\Controllers\HealthCheckController',
['only' => ['index','show']]
);
php artisan config:publish npmweb/laravel-health-check
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.