pedrotroller / healthcheck
Check if your application is still working
Installs: 13 212
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- symfony/console: ~4.0|^5.0
Requires (Dev)
- doctrine/dbal: ~2.0
- elasticsearch/elasticsearch: ~7.0
- monolog/monolog: ^1.24
- pedrotroller/php-cs-custom-fixer: ^2.18
- phpspec/phpspec: ^6.1
- predis/predis: ^1.1
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- symfony/config: ^4.0|^5.0
- symfony/dependency-injection: ^4.0|^5.0
- symfony/http-foundation: ~4.0|~5.0
- symfony/http-kernel: ^4.0|^5.0
This package is auto-updated.
Last update: 2024-10-29 05:28:44 UTC
README
# Healthcheck ## Installation `composer require pedrotroller/healthcheck` ## Symfony integration ### Configuration (coming from Symfony Flex) ```yaml # config/packages/healthcheck.yaml healthcheck: detailed: '%kernel.debug%' ``` ```yaml # config/routing/healthcheck.yaml healthcheck: resource: '@HealthcheckBundle/Resources/config/routing.yaml' prefix: /healthcheck ``` ## Usage ### HTTP `GET /healthcheck` will return an empty 200 response is the service is available, a 503 else. `OPTIONS /healthcheck` will return an empty 200 response if the helthchecking route is available. ### Console `bin/console healthcheck`