PHPackages                             etg24/eventsourcing - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. etg24/eventsourcing

AbandonedArchivedTypo3-flow-package[Framework](/categories/framework)

etg24/eventsourcing
===================

A TYPO3 Flow package for using EventSourcing

10123[5 issues](https://github.com/etg24/EventSourcing/issues)PHP

Since May 26Pushed 10y agoCompare

[ Source](https://github.com/etg24/EventSourcing)[ Packagist](https://packagist.org/packages/etg24/eventsourcing)[ RSS](/packages/etg24-eventsourcing/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Etg24.EventSourcing
===================

[](#etg24eventsourcing)

This package provides basic CQRS/ES infrastructure for [TYPO3 Flow](http://flow.typo3.org).

Its purpose is to provide inspiration for writing your own customized set of tools for working with CQRS/ES. *I do not recommend using this package without understanding the underlaying concepts first.*

Installation
------------

[](#installation)

```
$ composer require etg24/eventsourcing dev-master

```

Commands
--------------------------------------------

[](#commands)

Commands define the interface to your domain model. They enter the *[command bus](#command_bus)* and will then be handled (sync/async) by *[command handlers](#command_handlers)*. Commands do never return any data, thus the interface for handling commands is of type `void`.

### Defining commands

[](#defining-commands)

You can define a command by extending from `Etg24\EventSourcing\Command\Command` (I will soonish update the code base to use the `CommandInterface` instead, but until then you need to inherit from `Command`). The command has a `commandId` that can be used for logging purposes, if so desired.

```
