Download the PHP package vigilant/healthchecks without Composer

On this page you can find all versions of the php package vigilant/healthchecks. 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 healthchecks

Banner

Vigilant WordPress Healthchecks

Tests Analysis

A WordPress plugin that provides a healthcheck endpoint for any site and integrates seamlessly with Vigilant.

Features

Configuration

API token

Checks and metrics

Scheduler heartbeat

Usage

REST endpoint

The health payload is exposed via the WordPress REST API:

Example request:

A 401 Unauthorized response indicates the token has not been configured or is invalid.

Registering custom checks and metrics

Hook into vigilant_healthchecks_prepare to register additional checks or metrics before the payload is assembled:

Custom checks must extend Vigilant\HealthChecksBase\Checks\Check, while metrics extend Vigilant\HealthChecksBase\Checks\Metric.

Check availability

Each check self-reports whether it can run (for example, the Redis check requires the PHP Redis extension). Inapplicable checks are skipped automatically so they do not produce noise in Vigilant.

Available Checks

Check Description
DatabaseCheck Verifies the WordPress database connection and executes a simple query.
SiteHealthCheck Surfaces critical issues reported by WordPress Site Health.
CoreVersionCheck Compares the installed core version against the latest release.
RedisCheck Connects to the Redis instance defined by WP_REDIS_* constants and performs a PING.
PluginUpdatesCheck Counts plugins with pending updates via wp_update_plugins.
CronCheck Confirms WP-Cron has run within the configured threshold.

Available Metrics

Metric Description
MemoryUsageMetric Reports current system memory usage percentage.
DiskUsageMetric Reports disk utilisation percentage.
CpuLoadMetric Emits the 1-minute CPU load average.
DatabaseSizeMetric Measures the total size of WordPress tables in megabytes (cached by default for 5 minutes).

Events & Filters

Development Environment

A ready-to-use Docker setup lives in devenv/.

  1. Ensure Docker is running.
  2. Start the stack:

  3. Visit http://localhost:8000 (WordPress admin: admin / secret).
  4. The plugin is mounted from your working copy and activated automatically; configure the token from the settings page and test the endpoint locally:

Quality

Install dependencies and run the existing toolchain:

Security Vulnerabilities

Please review our security policy for details on how to report vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of healthchecks with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
symfony/http-foundation Version ^7.1
govigilant/vigilant-healthchecks-base Version ^1.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 vigilant/healthchecks contains the following files

Loading the files please wait ...