Skip to content

A concrete example of an event sourced application, built on top of the rayrutjes/domain-foundation package.

Notifications You must be signed in to change notification settings

rayrutjes/domain-foundation-example-silly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Event Sourcing Example Based On Silly

Please discover in this package a very simple application which illustrates the use of the rayrutjes/domain-foundation library.

We will enhance this example along the road, feel free to suggest features that would illustrate things as best as possible.

Installation

Install via composer

$ composer require rayrutjes/domain-foundation-example-silly

Update your database credentials into src/Interfaces/bootstrap.php. Actually, we have only tested MySQL

Create your database.

Set up your event store schema:

$ php src/Interfaces/Cli/app.php app:install

Run Commands

This example is based on the very nice library Silly which itself is based on the Symfony console.

To see what commands are available, simply run :

$ php src/Interfaces/Cli/app.php

To run a specific command, you can run :

$ php src/Interfaces/Cli/app.php user:register barbaz

About

A concrete example of an event sourced application, built on top of the rayrutjes/domain-foundation package.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages