ENV Healthcheck
A simple ENV healthcheck endpoint for WordPress Bedrock sites. You can get a check at the endpoint https://yourdomain.com/wp-json/custom/v1/healthcheck. Install by composer require viktor-starchenko/env-healthcheck.
by Viktor Starchenko · github.com/viktorstarchenko/env-healthcheck
★ 1stars
14composer installs
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/viktorstarchenko/env-healthcheck/archive/refs/heads/master.zipAlso on Packagist as viktor-starchenko/env-healthcheck:
composer require viktor-starchenko/env-healthcheckFrom the readme
ENV Healthcheck for WordPress (Bedrock)
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
json
{
"status": "ok",
"timestamp": "2025-07-29T12:34:56+00:00",
"siteurl": "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