dddominio/event-sourcing-bundle

DDDominio Event Sourcing library Symfony integration

0.1.1 2018-02-20 21:49 UTC

README

DDDominioEventSourcingBundle integrates DDDominio Event Sourcing library into Symfony.

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest development version of this bundle:

$ composer require dddominio/event-sourcing-bundle "1.0@dev"

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new DDDominio\EventSourcingBundle\DDDominioEventSourcingBundle(),
        );

        // ...
    }

    // ...
}

Documentation

Read the documentation