2017 © Pedro Peláez
 

library arbiter

An Action system for Action-Domain-Responder.

image

arbiter/arbiter

An Action system for Action-Domain-Responder.

  • Tuesday, July 25, 2017
  • by pmjones
  • Repository
  • 7 Watchers
  • 27 Stars
  • 6,124 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 5 Versions
  • 2 % Grown

The README.md

Arbiter

An Action system for Action-Domain-Responder., (*1)

This package is installable and PSR-4 autoloadable via Composer as arbiter/arbiter., (*2)

Alternatively, download a release or clone this repository, then map the Arbiter\ namespace to the package src/ directory., (*3)

This package requires PHP 5.5 or later; it has been tested on PHP 5.6, PHP 7, and HHVM. You should use the latest available version of PHP as a matter of principle., (*4)

To run the tests, issue composer install to install the test dependencies, then issue phpunit., (*5)


An Action value object is composed of three elements:, (*6)

  • an $input callable: this collects input from the incoming ServerRequestInterface and converts it to an array of parameters suitable for call_user_func_array();, (*7)

  • a $domain callable: this is invoked via call_user_func_array() using the array of parameters provided by the $input callable; and, (*8)

  • a $responder callable: this is invoked with the incoming ServerRequestInterface, the outgoing ResponseInterface, and the result (or "payload") returned by the $domain callable., (*9)

Call the ActionHandler handle() method with the Action, a ServerRequestInterface, and a ResponseInterface. The ActionHandler then acts as a mediator to direct the interaction between the three callables, and returns a modified ResponseInterface., (*10)

The Versions

25/07 2017

1.x-dev

1.9999999.9999999.9999999-dev https://github.com/arbiterphp/Arbiter.Arbiter

An Action system for Action-Domain-Responder.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

middleware psr-7 adr action domain responder

25/07 2017

1.1.0

1.1.0.0 https://github.com/arbiterphp/Arbiter.Arbiter

An Action system for Action-Domain-Responder.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

adr action domain responder

27/03 2016

1.0.0

1.0.0.0 https://github.com/arbiterphp/Arbiter.Arbiter

A PSR-7 Action system for Action-Domain-Responder.

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr-7 adr action domain responder

25/02 2016

1.0.0-beta1

1.0.0.0-beta1 https://github.com/arbiterphp/Arbiter.Arbiter

A PSR-7 Action system for Action-Domain-Responder.

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr-7 adr action domain responder

25/06 2015

0.1.0

0.1.0.0 https://github.com/arbiterphp/Arbiter.Arbiter

A PSR-7 Action system for Action-Domain-Responder.

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr-7 adr action domain responder