Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pedrotroller/healthcheck
Check if your application is still working
https://github.com/pedrotroller/healthcheck
Last synced: 29 days ago
JSON representation
Check if your application is still working
- Host: GitHub
- URL: https://github.com/pedrotroller/healthcheck
- Owner: PedroTroller
- Created: 2019-07-17T09:31:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-29T16:39:41.000Z (almost 5 years ago)
- Last Synced: 2024-11-18T09:53:44.712Z (about 1 month ago)
- Language: PHP
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
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`