WP Manifestindependent plugin directory
manifest / developer / wordpress-api-health-checker---monitor

API Health Checker & Monitor

wordpress-api-health-checker-&-monitor

by WP Developer · github.com/tahir-rafiq2000/wordpress-api-health-checker---monitor · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/tahir-rafiq2000/wordpress-api-health-checker---monitor/archive/refs/heads/main.zip

A professional WordPress plugin designed for developers using external APIs (CRMs, Logistics, etc.) who need to know immediately if a connection is down.

Key Features

  • Dashboard Widget: Real-time (cached) status of your specific API endpoints.
  • Detailed Logs: View the last 10 response codes for each monitored API to spot intermittent issues.
  • Fail-Safe Notifications: Automatically sends an email alert to the site administrator if an API returns a 500 status code or fails to connect.
  • Modern Architecture: Built with a clean PHP Class-based architecture and PSR-4 autoloading.
  • Optimized Performance: Uses WordPress Transients for caching results and WP-Cron for background health checks.

Modern Workflow

  • Composer Support: Includes composer.json for managing dependencies.
  • Class-based: Modular design for easy maintenance and scaling.
  • WP-Native: Leverages the WordPress HTTP API and Settings API.

Installation

  1. Upload the plugin folder to /wp-content/plugins/.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to Settings > API Health to add your API endpoints.
  4. View the status of your APIs directly on the WordPress Dashboard.

Developers

This plugin is built as a demonstration of modern WordPress development practices, including:

  • Hooks and Filters.
  • Custom Settings API implementation.
  • Transients API for performance.
  • WP-Cron for scheduled background tasks.