Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Ganesha Laravel Package

ackintosh/ganesha

Ganesha is a PHP circuit breaker library that prevents cascading failures by stopping calls to failing services and failing fast. It offers configurable thresholds, fallbacks, and storage adapters for Redis, Memcached, and Laravel, making distributed systems more resilient.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Reliability roadmap: Decide whether to harden critical third-party dependencies (payments, auth, search, notifications, shipping, CRM sync) with fast-fail and graceful degradation before scaling traffic or launching new integrations.
  • Build vs. buy: Reuse a proven MIT circuit-breaker implementation instead of building state tracking, thresholds, half-open recovery, and storage adapters in-house.
  • Feature behavior under failure: Product decisions about fallback UX—cached results, queued work, degraded checkout, “try again later” messaging, or disabling non-critical integrations.
  • Launch readiness: Gate launches that add synchronous external calls by requiring timeouts, retries with backoff, circuit breaking, and observability.
  • SLO/SLA commitments: Reduce cascading failures and improve availability for customer-facing flows that depend on flaky services.
  • Operational policy: Define thresholds, recovery windows, fallback ownership, and alerting for each protected dependency.
  • Prioritization: Identify which integrations deserve resilience work based on incident history, revenue impact, and blast radius.

When to Consider This Package

Consider it when:

  • The Laravel/PHP application makes synchronous calls to unreliable or rate-limited external services and needs to fail fast instead of exhausting workers or cascading failures.
  • You need shared circuit state across multiple app instances, using Redis, Memcached, or another supported adapter.
  • You want a small, focused library rather than building and maintaining circuit-breaker logic yourself.
  • Your team can own configuration, fallback behavior, metrics, and incident runbooks.
  • You need a pragmatic resilience layer without adopting a full service mesh or platform-level traffic management.

Look elsewhere or defer when:

  • A queue, async workflow, retry/backoff, timeout, or bulkhead already adequately contains the failure.
  • There is no meaningful fallback or degraded experience, so fast failure alone does not help the product.
  • The dependency is low-volume, non-critical, or already protected by infrastructure-level circuit breaking.
  • You cannot operate shared state (Redis/Memcached) or instrument circuit events.
  • You need vendor-supported enterprise SLA, deep Laravel-native conventions, or a broader resilience toolkit out of the box.

How to Pitch It (Stakeholders)

Executive summary: ackintosh/ganesha is a low-cost, MIT-licensed PHP circuit-breaker library that helps prevent one failing integration from taking down critical customer flows. It lets the application stop calling a failing dependency temporarily, recover gradually, and serve a fallback instead of cascading errors. For a Laravel/PHP product with revenue-critical third-party calls, this is a targeted reliability investment—not a silver bullet. It requires configuration, shared state such as Redis, observability, and clear fallback decisions. Recommend a small pilot on one high-risk dependency, measure incident reduction and error-budget impact, then standardize if successful.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib