2017 © Pedro Peláez
 

library registry-whoops

Whoops Formatter and Handler: store exceptions in Registry.

image

linkorb/registry-whoops

Whoops Formatter and Handler: store exceptions in Registry.

  • Wednesday, February 8, 2017
  • by joostfaassen
  • Repository
  • 4 Watchers
  • 1 Stars
  • 643 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 7 % Grown

The README.md

Registry Whoops

Whoops Formatter and Handler for Registry., (*1)

Installation

$ composer require linkorb/registry-client-php linkorb/registry-whoops

Integration

Create an instance of the Registry Store client:-, (*2)

use Registry\Client\ClientBuilder;
use Registry\Client\Store;

$config = array(
    'api_host' => 'registry.example.com',
    'auth' => array('myusername', 'mypassword'),
    'secure' => true,
);
$store = new Store(new ClientBuilder($config), 'myaccount', 'mystore');

and an instance of the Whoops handler:-, (*3)

use Registry\Whoops\Formatter\RequestExceptionFormatter;
use Registry\Whoops\Handler\RegistryHandler;

$handler = new RegistryHandler(new RequestExceptionFormatter, $store);

and register the Whoops handler with Whoops:-, (*4)

$whoops->pushHandler($handler);

The Versions

08/02 2017

dev-master

9999999-dev

Whoops Formatter and Handler: store exceptions in Registry.

  Sources   Download

MIT

The Requires

 

The Development Requires

by LinkORB

08/02 2017

v1.0.3

1.0.3.0

Whoops Formatter and Handler: store exceptions in Registry.

  Sources   Download

MIT

The Requires

 

The Development Requires

by LinkORB

08/02 2017

v1.0.2

1.0.2.0

Whoops Formatter and Handler: store exceptions in Registry.

  Sources   Download

MIT

The Requires

 

The Development Requires

by LinkORB

08/02 2017

v1.0.1

1.0.1.0

Whoops Formatter and Handler: store exceptions in Registry.

  Sources   Download

MIT

The Requires

 

The Development Requires

by LinkORB

11/01 2017

v1.0.0

1.0.0.0

Whoops Formatter and Handler: store exceptions in Registry.

  Sources   Download

MIT

The Requires

 

The Development Requires

by LinkORB