Download the PHP package leankoala/healthfoundation without Composer
On this page you can find all versions of the php package leankoala/healthfoundation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download leankoala/healthfoundation
More information about leankoala/healthfoundation
Files in leankoala/healthfoundation
Package healthfoundation
Short Description A expendable health check framework for PHP
License MIT
Informations about the package healthfoundation
HealthFoundation
The HealthCheckFoundation is an open source library that should make it easy to provide continuous health statuses for all important components in web projects. It was designed to be very extensible.
Using HealthFoundation
HealthFoundation was designed to be run standalone or within any project.
Example
Config file
This example checks if the disc space is used is less than 95 percent.
The config file could look like this
For more information on how to use this have a look at the RunCommand
.
Code
The same check as code
Checks
Formatter
It is possible to produce any kind of health check format. At the moment the IETF standard (Health Check Response Format for HTTP APIs) is supported but there is an simple interface that can be implemented to create new formats.
Status
Implemented health checks
As this is an open source project we want everybody to submit their own checks, that is why we provide the main author of every check in this list.
- Basic
- Number
- LessThan ([email protected])
- Database
- MySQL
- Slave
- SlaveStatusField ([email protected])
- MysqlRunning ([email protected])
- Redis
- ListLength ([email protected])
- Device
- SpaceUsed ([email protected])
- Uptime ([email protected])
- Docker
- Container
- ContainerIsRunningCheck ([email protected])
- Files
- Content
- NumberOfLines ([email protected])
- FileCreatedAfter ([email protected])
- FileExists ([email protected])
- Resource
- HTTP
- StatusCode ([email protected])
- System
- Uptime ([email protected])
- NumberProcesses ([email protected])
Ideas for health checks
- Database
- MySQL
- NumberOfReturnedElements
- Redis
- isRunning
- Files
- isWritable
- FileEditedAfter
- Tool
- Wordpress
- Plugins
- NumberOfOutdatedPlugins
- isOutdated
- isInsecure
Outlook / Ideas
- Suggestions - the tool should find on its own what can be tested
- Plugins - It would be great if there where plugins/bundles for WordPress, Shopware, Symfony etc.
- History - Remember the last health status
- Action - Do something after a health check fails
All versions of healthfoundation with dependencies
phmlabs/init Version dev-master
guzzlehttp/guzzle Version ^6.3
uptime/uptime Version 0.2.0
symfony/console Version >=3.1 <6.0
symfony/yaml Version >=3.1 <6.0