tatter/agents
Composer 安装命令:
composer require tatter/agents
包简介
Service analysis and assessment for CodeIgniter 4
README 文档
README
Service analysis and assessment for CodeIgniter 4
Quick Start
- Install with Composer:
> composer require tatter/agents - Check all agent statuses:
> php spark agents:check
Features
The Agents library defines a number of individual Agents that gather status information from the server, framework, and various services and modules into a streamlined data store.
Installation
Install easily via Composer to take advantage of CodeIgniter 4's autoloading capabilities and always be up-to-date:
> composer require tatter/agents
Or, install manually by downloading the source files and adding the directory to
app/Config/Autoload.php.
Configuration (optional)
The library's default behavior can be altered by extending its config file. Copy examples/Agents.php to app/Config/ and follow the instructions in the comments. If no config file is found in app/Config the library will use its own.
Usage
After installing Agents can be loaded individually from the model, or run centrally with
the provided CLI command: php spark agents:check. Most likely you will want to create a
cron job to run this at periodic intervals.
Agent results are stored in the agents_results table with its corresponding model
Tatter\Agents\Models\ResultModel. Large data objects are serialized and hashed into a
separate table that checks for duplicate data to cut down on storage sizes.
tatter/agents 适用场景与选型建议
tatter/agents 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.86k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2019 年 08 月 26 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「codeigniter」 「service」 「monitor」 「health」 「Agent」 「codeigniter4」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 tatter/agents 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tatter/agents 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 tatter/agents 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Symfony bundle to monitor and execute commands
Collections of statsd collectors with templated metric names
A Laravel package to monitor queue jobs.
The CodeIgniter Redis package
A fast and intuitive dependency injection container.
Registry service.
统计信息
- 总下载量: 4.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 12
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-08-26