vesh95 / heartbeat
Healthcheck and monitoring interfaces for PHP applications
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/vesh95/heartbeat
Requires
- php: >=8.0
Requires (Dev)
- phpunit/phpunit: ^12.2
This package is auto-updated.
Last update: 2025-12-02 08:36:57 UTC
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.