filld/health
Simple health check for your database connections.
2,192
2
| Install | |
|---|---|
composer require filld/health |
|
| Latest Version: | v5.5.0 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | Jan 30, 2018 |
| Links: | GitHub · Packagist |
Maintainer: russianryebread
Filld Laravel / Lumen Health check
A simple plugin for Laravel / Lumen, which enumerates your database connections, and returns a JSON block showing if the connections are healthy or not. It specifically doesn't show the connection names so as to not leak confidential information.
{
"status": true,
"dbs": {
"DB_1": true,
"DB_2": true,
"DB_3": true
}
}
Installation
Laravel
Register the Service provider in config/app.php
'providers' => [
// Other Service Providers
Filld\Health\Providers\HealthServiceProvider::class,
],
Lumen
Register the Service provider in bootstrap/app.php:
$app->register(Filld\Health\Providers\HealthServiceProvider::class);
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| v5.5.0 | ~5.0 | MIT | |
| v1.0.1 | ~5.0 | MIT | |
| v1.0.0 | ~5.0 | MIT |