2017 © Pedro Peláez
 

library rho

Microservice client framework

image

offers/rho

Microservice client framework

  • Friday, July 22, 2016
  • by offers
  • Repository
  • 10 Watchers
  • 1 Stars
  • 1,285 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 5 % Grown

The README.md

rho

Usage

Check out the examples directory, (*1)

Run the Tests

docker-compose build
docker-compose up -d
docker-compose exec rho phpunit

Logging

If you'd like your logs to include a name for the client you are wrapping, you can use Monolog processors like so:, (*2)

// clone the logger to modify it w/o affecting the original
$myLogger = clone $logger;

$myLogger->pushProcessor(function ($record) {
    $record['extra']['client'] = 'My Client Name';
    return $record;
});

Rho\Retrier::wrap($client, ['logger' => $myLogger]);

The Versions

22/07 2016

dev-master

9999999-dev https://github.com/offers/rho

Microservice client framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Kite

microservice

22/07 2016

0.0.4

0.0.4.0 https://github.com/offers/rho

Microservice client framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Kite

microservice

18/07 2016

0.0.3

0.0.3.0 https://github.com/offers/rho

Microservice client framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Kite

microservice

15/07 2016

0.0.2

0.0.2.0 https://github.com/offers/rho

Microservice client framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Kite

microservice

15/07 2016

0.0.1

0.0.1.0 https://github.com/offers/rho

Microservice client framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Kite

microservice

14/07 2016

0.0.0

0.0.0.0 https://github.com/offers/rho

Microservice client framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Kite

microservice