kalakotra/silverstripe-monitoring-client
Composer 安装命令:
composer require kalakotra/silverstripe-monitoring-client
包简介
SilverStripe 6 monitoring – passive data endpoint (pull model)
README 文档
README
Passive monitoring endpoint for SilverStripe 6.
The admin module periodically pulls data from this endpoint - the client does not send anything.
Installation
composer require kalakotra/silverstripe-monitoring-client vendor/bin/sake dev/build flush=1
ENV Configuration (.env)
# Secret key - enter the same key in the Project record on the admin side MONITORING_SECRET_KEY="min-32-random-chars-hex-or-any"
Generate a secure key:
php -r "echo bin2hex(random_bytes(32));"
Endpoint
GET https://client-page.com/silverstripe-monitoring/data?key=<MONITORING_SECRET_KEY>
Example Response
{
"php_version": "8.2.15",
"ss_version": "6.0.3",
"ss_recipe_version": "6.0.1",
"page_count": 84,
"published_count": 79,
"draft_count": 5,
"broken_links": 2,
"object_count": 14832,
"table_count": 67,
"member_count": 12,
"admin_count": 2,
"environment": "live",
"base_url": "https://vas-sajt.ba/",
"default_locale": "bs_BA",
"php_memory_limit": "256M",
"php_max_execution": 30,
"disk_free_gb": 42.15,
"disk_total_gb": 100.0,
"reported_at": "2025-04-21 14:30:00"
}
Security
- The key is validated with
hash_equals()for timing-attack protection - If
MONITORING_SECRET_KEYis not configured, the endpoint returns500 - No CMS dependencies - minimal footprint on the client site
kalakotra/silverstripe-monitoring-client 适用场景与选型建议
kalakotra/silverstripe-monitoring-client 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 05 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 kalakotra/silverstripe-monitoring-client 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 kalakotra/silverstripe-monitoring-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 58
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-12