viktor-starchenko / env-healthcheck
A simple ENV healthcheck endpoint for WordPress plugins.
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:wordpress-plugin
pkg:composer/viktor-starchenko/env-healthcheck
Requires
- php: >=7.3
This package is auto-updated.
Last update: 2025-12-04 17:25:33 UTC
README
A lightweight WordPress plugin that provides a simple environment healthcheck endpoint for Bedrock-based WordPress installations.
🔍 Features
- Exposes a REST API endpoint for checking the application environment
- Useful for uptime monitoring, CI/CD readiness checks, and infrastructure health probes
- No configuration required — works out of the box
🛠️ Endpoint
Once activated, the plugin registers the following endpoint:
GET /wp-json/custom/v1/healthcheck
Example Response
{
"status": "ok",
"timestamp": "2025-07-29T12:34:56+00:00",
"site_url": "https://yourdomain.com"
}
⚙️ Installation
Install via Composer:
composer require viktor-starchenko/env-healthcheck
🧱 Requirements
- WordPress using the Bedrock structure
- Composer
📁 File Structure
env-healthcheck/
├── src/
│ └── Healthcheck.php
└── env-healthcheck.php
✍️ Author
Viktor Starchenko