Skip to content

acairns/sitepoint-command-bus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Usage of a Command Bus

The article is currently being written.

I'll add more details here soon!

Setup

The only thing you need to get up-an-running is to pull the codebase down and install the dependencies:

$ composer install

You are now good to go!

Tests

Run the tests:

$ ./vendor/bin/phpunit

Examples

There are several examples included to show how a command can be passed into a command bus.

You can run these directly from the console:

$ php examples/CreateDeckExample.php
$ php examples/DrawCardExample.php
$ php examples/ShuffleDeckExample.php

About

Example Usage of a Command Bus (SitePoint Article)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages