承接 govigilant/joomla-healthchecks 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

govigilant/joomla-healthchecks

Composer 安装命令:

composer require govigilant/joomla-healthchecks

包简介

A Joomla plugin that provides a healthcheck endpoint for any site and integrates seamlessly with govigilant.io

README 文档

README

Banner

Vigilant Joomla Healthchecks

Tests Analysis Total downloads

A Joomla plugin that provides a healthcheck endpoint for any site and integrates seamlessly with Vigilant.

Features

  • Exposes health information and metrics on POST /index.php?option=io_govigilant&task=health.check.
  • Default checks for Joomla included
  • Allows registration of custom checks and metrics

Installation

Install the package via Composer inside your Joomla project root:

composer require govigilant/joomla-healthchecks

Copy the plugin files to plugins/system/vigilanthealthchecks and enable the System - Vigilant Healthchecks plugin in the Joomla administrator.

Configuration

Set a bearer token in the plugin options. Requests must include the header:

Authorization: Bearer YOUR_TOKEN

Usage

Once enabled, the health endpoint is reachable at:

POST /index.php?option=io_govigilant&task=health.check

Example request:

curl -X POST "https://your-site.test/index.php?option=io_govigilant&task=health.check" \
  -H "Authorization: Bearer $VIGILANT_HEALTHCHECK_TOKEN" \
  -H "Content-Type: application/json"

Extending

Use the Vigilant\JoomlaHealthchecks\HealthCheckRegistry service to register additional checks and metrics. A simple example inside a custom Joomla extension:

use Vigilant\HealthChecksBase\Checks\Metrics\DiskUsageMetric;
use Vigilant\JoomlaHealthchecks\HealthCheckRegistry;

$registry = $container->get(HealthCheckRegistry::class);

$registry->registerMetric(DiskUsageMetric::make());

Checks extend Vigilant\HealthChecksBase\Checks\Check and metrics extend Vigilant\HealthChecksBase\Checks\Metric.

Available Checks

Check Description
CoreEnvironmentCheck Checks required PHP extensions, display_errors, and pending Joomla core updates.
FilesystemHealthCheck Validates configuration.php permissions, writable directories, installation directory cleanup, and plugin version alignment.
DatabaseHealthCheck Tests database connectivity, utf8mb4 support, schema alignment with Joomla core, and table integrity.
ExtensionsHealthCheck Confirms critical plugins are enabled, the debug plugin is disabled, and the default admin user is removed.
ConfigurationLanguageCheck Ensures Joomla's language and metalang configuration values are set.
SecuritySettingsCheck Verifies secure settings such as session handler, force_ssl, secret length, and admin login notification plugin.
SchedulerHealthCheck Flags overdue Joomla scheduler tasks whenever the scheduler tables exist.
CacheCheck Runs a read/write probe against the configured cache store.
DiskSpaceCheck Monitors available disk space.

Available Metrics

Metric Description
CpuLoadMetric Reports the current CPU load average.
MemoryUsageMetric Reports overall system memory usage.
DiskUsageMetric Reports disk space utilization percentages.

Development Environment

A ready-to-use Docker Compose setup lives in devenv/. Start the stack: docker compose -f devenv/docker-compose.yml up --build.

This provisions Joomla 5 and Joomla 6, MariaDB, and mounts this package as System - Vigilant Healthchecks.The admin credentials are admin / Admin1234!@# and a default bearer token is set to testing.

Joomla 5 is reachable on port 8000 and Joomla 6 on port 8001.

Stop everything with docker compose -f devenv/docker-compose.yml down -v when you're finished.

Quality

Run the quality checks locally:

composer quality

Packaging for the Joomla Extension Directory

Build an installable ZIP (with production dependencies) via:

scripts/package-jed.sh

The script assembles the plugin in a temporary directory, runs composer install --no-dev, and writes dist/plg_system_vigilanthealthchecks.zip for upload to the JED.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

govigilant/joomla-healthchecks 适用场景与选型建议

govigilant/joomla-healthchecks 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 12 月 26 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「joomla」 「healthchecks」 「vigilant」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 govigilant/joomla-healthchecks 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 govigilant/joomla-healthchecks 我们能提供哪些服务?
定制开发 / 二次开发

基于 govigilant/joomla-healthchecks 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-26