Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rymanalu/laravel-circuit-breaker
Circuit Breaker pattern implementation in Laravel 5.
https://github.com/rymanalu/laravel-circuit-breaker
Last synced: about 1 month ago
JSON representation
Circuit Breaker pattern implementation in Laravel 5.
- Host: GitHub
- URL: https://github.com/rymanalu/laravel-circuit-breaker
- Owner: rymanalu
- License: mit
- Created: 2016-12-07T07:44:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-08T09:44:16.000Z (about 8 years ago)
- Last Synced: 2024-08-02T20:46:42.455Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 9.77 KB
- Stars: 5
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-indo-projects - Laravel Circuit Breaker - Circuit Breaker pattern implementation in Laravel 5. (Laravel)
- awesome-indonesia-repo - Laravel Circuit Breaker - Circuit Breaker pattern implementation in Laravel 5. (Laravel)
README
# Laravel 5 Circuit Breaker
[![Build Status](https://travis-ci.org/rymanalu/laravel-circuit-breaker.svg?branch=master)](https://travis-ci.org/rymanalu/laravel-circuit-breaker)
This package provides an implementation of Circuit Breaker pattern for Laravel 5.
## Installation
First, install this package:
```
composer require rymanalu/laravel-circuit-breaker
```Next, add the ServiceProvider to the providers array in `config/app.php`:
```php
Rymanalu\LaravelCircuitBreaker\CircuitBreakerServiceProvider::class,
```You can use the facade for shorter code. Add this to your aliases:
```php
'CircuitBreaker' => Rymanalu\LaravelCircuitBreaker\CircuitBreakerFacade::class,
```## APIs
```php