Ganesha is a PHP library designed for circuit breaker pattern implementation. It provides a robust solution for managing failures and timeouts in your applications.
⚠️ To ensure full functionality, the above dependencies might be required.
Package Description
Ganesha is a feature-rich PHP library that enables developers to enhance the resilience of their applications through the implementation of the circuit breaker pattern. It offers detailed monitoring and metrics, allowing for effective fault tolerance strategies. With Ganesha, developers can easily prevent cascading failures and improve system stability.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/ackintosh/ganesha/4.0.0/loader.php';
require_once 'libs/sebastianbergmann/phpunit/12.2.2/loader.php';
use Ganesha\CircuitBreaker;
use Ganesha\Storage\Adapter\Redis;
$obj = new CircuitBreaker();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.