Download the PHP package dennzo/health-check without Composer
On this page you can find all versions of the php package dennzo/health-check. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dennzo/health-check
More information about dennzo/health-check
Files in dennzo/health-check
Package health-check
Short Description A library containing tools for outputting json information for monitoring systems.
License MIT
Informations about the package health-check
Dennzo Monitoring Tools
This package contains a standardized format for easy monitoring checks.
The tools will generate an output in the below format.
You should set the status
manually.
The following information will be automatically detected.
- GIT Version
- Development Environment (ex. dev, test, prod)
- Name of the application
The git tag and application name is ONLY detected automatically if...
- ...the server has git installed
- ...the application itself is a git repository
Installation
composer require dennzo/monitoring-tools
Usage
Use the Class MonitoringTools to implement this feature in your application.
Depending on your application you will need to create the MonitoringController and define a health_check route.
You can find some more examples and explanation here.
Defaults
Name | Default | Description |
---|---|---|
Status | OK | You should override this within your application, for example by testing the apps functionality. |
Git Version | Automatic mechanism or null | If GIT is installed and the current project is a git repository it will automatically detect this. |
Environment | Automatic mechanism or null | The environment is read to see if certain variables exist. |
Application Name | Automatic mechanism or null | If GIT is installed and the current project is a git repository it will automatically detect this. |
All versions of health-check with dependencies
ext-json Version *