2017 © Pedro Peláez
 

library demander

A small, simple and flexible Query Bus.

image

nigelgreenway/demander

A small, simple and flexible Query Bus.

  • Wednesday, June 22, 2016
  • by NigelGreenway
  • Repository
  • 1 Watchers
  • 4 Stars
  • 494 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 5 Versions
  • 14 % Grown

The README.md

demander

Latest Version Software License Build Status, (*1)

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors., (*2)

Install

Via Composer, (*3)

``` bash $ composer require nigelgreenway/demander, (*4)


## Usage Below is a very basic example on how to use the package. More docs will be released when version 1.0 is released in the next week or two. ``` php $mapping = [ 'GetActiveEmployeesQuery' => 'GetActiveEmployeesQueryHandler', ]; $mediator = new Demander\Mediator\InMemoryMediator($mapping); $activeEmployees = $mediator->request(new GetEmployeesByStatusQuery('active')); foreach($activeEmployees as $activeEmployee) { echo $activeEmployee->fullName; }

Testing

bash $ phpunit, (*5)

Contributing

Please see CONTRIBUTING for details., (*6)

Security

If you discover any security related issues, please email nigel_greenway@me.com instead of using the issue tracker., (*7)

Credits

License

The MIT License (MIT). Please see License File for more information., (*8)

The Versions

22/06 2016

dev-master

9999999-dev

A small, simple and flexible Query Bus.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

command command bus query view query bus mediator view model

22/06 2016

v1.1.0

1.1.0.0

A small, simple and flexible Query Bus.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

command command bus query view query bus mediator view model

22/06 2016

dev-dev

dev-dev

A small, simple and flexible Query Bus.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

command command bus query view query bus mediator view model

13/01 2016

v1.0.0

1.0.0.0

A small, simple and flexible Query Bus.

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

command command bus query view query bus mediator view model

26/02 2015

v0.0.1a

0.0.1.0-alpha

A small, simple and flexible Query Bus.

  Sources   Download

MIT

The Requires

 

The Development Requires

query view query bus view model