fittinq / symfony-health
Installs: 4 530
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
pkg:composer/fittinq/symfony-health
Requires
- symfony/framework-bundle: ^5.0|^6.0
Requires (Dev)
- phpunit/phpunit: ^9.0
README
This helps creating health endpoints which simply return HTTP_OK responses.
Install via composer
composer require fittinq\symfony-health
Configure bundle
config/bundles.php
<?php
return [
// ...
Fittinq\Symfony\Health\SymfonyHealthBundle::class => ['all' => true],
];
Configure routes
config/routes.yaml
health:
resource: "@SymfonyHealthBundle/Resources/config/routing.yaml"