tseguier/doctrine-health-checker

This package's canonical repository appears to be gone and the package has been frozen as a result.

v0.2.0 2019-08-14 08:07 UTC

This package is auto-updated.

Last update: 2019-09-15 06:29:55 UTC


README

Service working with tseguier/health-check check the availability of doctrine connection(s);

Installation

Install with composer:

composer require tseguier/doctrine-health-checker

Add the bundle to your bundles.php

Tseguier\DoctrineHealthCheckerBundle\DoctrineHealthCheckerBundle::class => ['all' => true],

Configuration

With no explicit configuration, this bundle is checking all registered connections.

If you don't use some connections, you can set the connections array to a list of connections name in a config file (config/packages/tseguier_health_check.yaml for instance):

doctrine_health_checker:
  connections:
    - 'default'