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.
Via Composer
$ composer require nigelgreenway/demander
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.
$mapping = [
'GetActiveEmployeesQuery' => 'GetActiveEmployeesQueryHandler',
];
$mediator = new Demander\Mediator\InMemoryMediator($mapping);
$activeEmployees = $mediator->request(new GetEmployeesByStatusQuery('active'));
foreach($activeEmployees as $activeEmployee) {
echo $activeEmployee->fullName;
}
$ phpunit
Please see CONTRIBUTING for details.
If you discover any security related issues, please email nigel_greenway@me.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.