Download the PHP package leyton/laravel-circuit-breaker without Composer
On this page you can find all versions of the php package leyton/laravel-circuit-breaker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download leyton/laravel-circuit-breaker
More information about leyton/laravel-circuit-breaker
Files in leyton/laravel-circuit-breaker
Package laravel-circuit-breaker
Short Description The Laravel implementation for The Circuit breaker pattern
License MIT
Informations about the package laravel-circuit-breaker
Laravel Circuit Breaker
A Laravel implementation of the Circuit Breaker pattern to prevent cascading failures in distributed systems.
Table of Contents
- Motivation
- Installation
- Usage
Motivation
The Circuit Breaker Pattern is essential for ensuring your software's resilience. It prevents failures from spreading, maintaining operational stability even when services encounter issues. By providing visual feedback and improving user experience, it keeps your application running smoothly. Additionally, it simplifies maintenance and troubleshooting, enabling quicker problem resolution. Overall, integrating the Circuit Breaker Pattern is crucial for enhancing reliability and user satisfaction.
You can find more detailes about this pattern here Circuit Breaker Pattern
Installation
After the installation make sure to publish the assets
You will find the ` file containing all the configurations needed. ``
Usage
The package provides you with a straightforward API to use.
`` The packet object holds the result of the callback and the status of the service
``
One of the benefits of this pattern is to prevent the system from performing unnecessary actions when there are multiple transactions. This is an example of the usage
``
Built with care by Leyton CognitX