This bundle adds /health
endpoints and health:send-info
command to project.
You can install it via composer:
composer require niklesh/health-check-bundle
For using this bundle you have to add configuration files:
config/routes/niklesh_health.yaml
(required)
health_check:
resource: "@HealthCheckBundle/Controller/HealthController.php"
prefix: /
type: annotation
config/packages/hiklesh_health.yaml
(optional)
health_check:
senders:
- 'App\Service\Sender'