filld/health

Simple health check for your database connections.

Maintainers

Details

github.com/filld/health

Source

Issues

Installs: 2 192

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 6

Forks: 1

Open Issues: 0

Type:laravel5-plugin

v5.5.0 2018-01-30 20:14 UTC

This package is auto-updated.

Last update: 2024-11-09 14:14:26 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);