filld / health
Simple health check for your database connections.
Installs: 2 192
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 6
Forks: 1
Type:laravel5-plugin
Requires
- illuminate/database: ~5.0
This package is auto-updated.
Last update: 2024-12-09 14:22:18 UTC
README
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);