Download the PHP package adata-team/healthchecker without Composer
On this page you can find all versions of the php package adata-team/healthchecker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download adata-team/healthchecker
More information about adata-team/healthchecker
Files in adata-team/healthchecker
Download adata-team/healthchecker
More information about adata-team/healthchecker
Files in adata-team/healthchecker
Vendor adata-team
Package healthchecker
Short Description Package for check some services to health
License proprietary
Homepage https://github.com/adata-team/healthcheck
Package healthchecker
Short Description Package for check some services to health
License proprietary
Homepage https://github.com/adata-team/healthcheck
Please rate this library. Is it a good library?
Informations about the package healthchecker
Health check library
Quick start for Lumen/Laravel application
1. Install via composer:
2. Make configuration file in config/health.php
with content
The above code is the minimum to run this plugin.
See full documentation in Examples folder
3. Register service provider in Lumen bootstrap/app.php
and register configuration file
Parameters in configuration file
NAME | DESCRIPTION | REQUIRED | TYPE | DEFAULT | EXAMPLE |
---|---|---|---|---|---|
app_name | Application name to display in health check | false | string | env[APP_NAME] | 'Project' |
show_host | Show host (URL of the current project) | false | bool | false | true |
precision_time | Rounding of time to n digits | false | int | 2 | 4 |
show_hostname | Show server name | false | bool | false | true |
enable_time_check | Enable healthCheck runtime metering | false | bool | false | true |
enable_color_status | Enable display of health status [red, yellow, green] | false | bool | false | true |
enable_server_time | Enable server time display (Carbon::now()) | false | bool | false | true |
allowed_cluster_health | Valid elasticsearch cluster states [red, yellow, green] | false | array | [green] | [yellow, green] |
class_map | Checkers class map | false | array | [] | ['database' => Adata\HealthChecker\Checkers\DatabaseChecker::class] |
router | Routing settings | true | array | - | ['group_prefix' => 'health', 'check_prefix' => 'check', 'check_name' => 'healthCheck', 'url' => '/health/check'] |
services | Services to check | false | array | - | ['db' => ['type' => 'database', 'connections' => ['pgsql']] |
Configuration services to check
RabbitMQ configuration params
- type = rabbitmq
NAME | DESCRIPTION | REQUIRED | TYPE | DEFAULT |
---|---|---|---|---|
host | Server host | true | string | - |
port | Connection port | false | int | 15672 |
user | User | true | string | - |
password | Password | true | string | - |
timeout | Timeout | false | int | 3 |
Redis configuration params
- type = redis
NAME | DESCRIPTION | REQUIRED | TYPE | DEFAULT |
---|---|---|---|---|
host | Server host | true | string | - |
port | Connection port | false | int | 6379 |
user | User | true | string | - |
timeout | Connection timeout | false | int | 3 |
Database configuration params
- type = database
NAME | DESCRIPTION | REQUIRED | TYPE | DEFAULT |
---|---|---|---|---|
connections | Array naming connections | false | array | .env[DB_CONNECTION] |
timeout | Connection timeout | false | int | 3 |
HealthCheck configuration params
- type = healthCheck
NAME | DESCRIPTION | REQUIRED | TYPE | DEFAULT |
---|---|---|---|---|
url | URL health check | true | string | - |
timeout | Connection timeout | false | int | 3 |
HTTP configuration params
- type = http
NAME | DESCRIPTION | REQUIRED | TYPE | DEFAULT |
---|---|---|---|---|
url | URL where to check the 200 response status | true | string | - |
timeout | Connection timeout | false | int | 3 |
ElasticSearch configuration params
- type = elastic
NAME | DESCRIPTION | REQUIRED | TYPE | DEFAULT |
---|---|---|---|---|
hosts | Elastic hosts to check (Format: "host:port") | true | array | - |
timeout | Connection timeout | false | int | 3 |
FileServer configuration params
- type = fileServer
NAME | DESCRIPTION | REQUIRED | TYPE | DEFAULT |
---|---|---|---|---|
mounted_path | The path where the file server is mounted | true | string | - |
dir | Directory to check for existence | true | string | - |
Arango configuration params
- type = arango
NAME | DESCRIPTION | REQUIRED | TYPE | DEFAULT |
---|---|---|---|---|
host | Server host arango | true | string | - |
port | Connection port | false | int | 8529 |
https | Enable https protocol | false | bool | false |
database | Arango database name for the test | true | string | - |
timeout | Connection timeout | false | int | 3 |
All versions of healthchecker with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.3||^8.1
guzzlehttp/guzzle Version ^6.0||^7.0
phpunit/phpunit Version ^9.0||^10.0
guzzlehttp/guzzle Version ^6.0||^7.0
phpunit/phpunit Version ^9.0||^10.0
The package adata-team/healthchecker contains the following files
Loading the files please wait ....