viktor-starchenko/env-healthcheck 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

viktor-starchenko/env-healthcheck

Composer 安装命令:

composer require viktor-starchenko/env-healthcheck

包简介

A simple ENV healthcheck endpoint for WordPress plugins.

README 文档

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


统计信息

  • 总下载量: 14
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-09