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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package healthchecker

Health check library

PHP Latest version Stars Downloads Contributors Release

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

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

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

NAME DESCRIPTION REQUIRED TYPE DEFAULT
connections Array naming connections false array .env[DB_CONNECTION]
timeout Connection timeout false int 3

HealthCheck configuration params

NAME DESCRIPTION REQUIRED TYPE DEFAULT
url URL health check true string -
timeout Connection timeout false int 3

HTTP configuration params

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

NAME DESCRIPTION REQUIRED TYPE DEFAULT
hosts Elastic hosts to check (Format: "host:port") true array -
timeout Connection timeout false int 3

FileServer configuration params

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

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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package adata-team/healthchecker contains the following files

Loading the files please wait ....