WP Manifestindependent plugin directory
manifest / developer / advanced-custom-site-status

Advanced Custom Site Status WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Advanced Custom Site Status is a WordPress plugin that adds a custom health check endpoint with rate limiting to your WordPress site.

★ 1stars
211composer installs
v0.2.7latest · 2 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/devuri/advanced-custom-site-status/archive/refs/heads/master.zip

On Packagist as devuri/advanced-custom-site-status:

composer require devuri/advanced-custom-site-status
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Advanced Custom Site Status is a WordPress plugin that adds a custom health check endpoint with rate limiting to your WordPress site. This endpoint is specifically designed to check database connectivity, ensuring your WordPress site's database is accessible and responsive. The plugin supports a customizable endpoint slug through a constant, allowing for personalized integration into your WordPress environment.

Features

  • Custom Health Check Endpoint: Provides a dedicated URL to check the site's health, focusing on database connectivity.
  • Rate Limiting: Protects your site from potential abuse by limiting the number of health check requests within a specific time frame.
  • Customizable Endpoint Slug: Allows the setting of a custom slug for the health check endpoint through a WordPress constant.

Requirements

  • WordPress 5.3.0 or higher
  • PHP 7.3.5 or higher

Installation

Via Composer

To install the plugin using Composer, run the following command:

composer require devuri/advanced-custom-site-status

Replace your-vendor with your actual vendor name on Packagist if you have submitted the plugin there.

Manual Installation

  1. Download the plugin files from the GitHub repository.
  2. Upload the advanced-custom-site-status directory to your WordPress site's wp-content/plugins/ directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress.

Configuration

To customize the endpoint slug, define the CUSTOM_HEALTH_CHECK_SLUG constant in your wp-config.php file like so:

define('CUSTOM_HEALTH_CHECK_SLUG', 'my-custom-health-endpoint');

If the constant is not defined, the plugin will default to using health-check-site-status as the endpoint slug.

Usage

After installation and activation, the health check can be accessed via the configured slug (or the default slug if not configured). For example:

https://yourdomain.com/my-custom-health-endpoint

This URL will return a JSON response indicating the health status of your WordPress site's database.

Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues to improve the plugin.

License

The plugin is licensed under the GPLv2. For more details, see the License URI.

Releases

4 releases.

Tag
Published
v0.2.7 latest
Feb 17, 2024 2 years ago
Feb 17, 2024 2 years ago
Feb 17, 2024 2 years ago
Feb 17, 2024 2 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

Advanced Custom Site Status 0.2.7 · audited by WP Registry

No security issues found.

Audited release
0.2.7
Findings
none
Worst severity
—
Content hash
e6651cc3fcd6643b32f7e5f5…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.