2017 © Pedro Peláez
 

library circuit-breaker

image

nir/circuit-breaker

  • Wednesday, October 25, 2017
  • by NiR-
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

nir/circuit-breaker

Build Status StyleCI Scrutinizer Code Quality, (*1)

This package is inspired by ejsmont-artur/php-circuit-breaker., (*2)

Install

composer require nir/circuit-breaker, (*3)

How to use?

You need to write (or generate) decorator classes to wrap objects on which you want to apply the circuit breaker., (*4)

How it works?

You can check this proposal for Zend framework if you want to know how it works., (*5)

Contribute

Here are some useful composer scripts you might want to use to ease development:, (*6)

composer run docker:build   # It's automatically run by other scripts
composer run docker:install # Run composer install in a container
composer run docker:tests   # Run phpspec and phpunit in a container
composer run tests          # Run phpspec and phpunit
$(composer run docker:run)  # Run an interactive shell in a new container (composer run docker:build should be called first)

The Versions

25/10 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php ~7.0

 

The Development Requires