dev-master
9999999-dev
MIT
The Requires
- php ~7.0
The Development Requires
Wallogit.com
2017 © Pedro Peláez
nir/circuit-breakerThis package is inspired by ejsmont-artur/php-circuit-breaker., (*2)
composer require nir/circuit-breaker, (*3)
You need to write (or generate) decorator classes to wrap objects on which you want to apply the circuit breaker., (*4)
You can check this proposal for Zend framework if you want to know how it works., (*5)
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)
MIT