vesh95/heartbeat
最新稳定版本:1.0.0
Composer 安装命令:
composer require vesh95/heartbeat
包简介
Healthcheck and monitoring interfaces for PHP applications
README 文档
README
Php-pulse is a library for PHP that provides a set of interfaces for healthcheck and monitoring.
Installation
To install Php-pulse, run the following command:
composer require vesh95/heartbeat
Usage
To use Php-pulse, create a new instance of the HealthcheckRunner class and add checks to it. Then, run the checks by
calling the run() method.
use Vesh95\Heartbeat\HealthcheckRunner; use Vesh95\Heartbeat\Check\CheckInterface; $runner = new HealthcheckRunner(); $runner->append(new CheckInterface()); $results = $runner->run();
The run() method returns a ResultsCollection object that contains the results of the checks.
Contributing
Contributions are welcome. Please see the contributing guide for more information.
License
Php-pulse is licensed under the MIT License. See the license file for more information.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-01