/CqrsEsAgility

auto gen lots of files to support cqrs + es development

Primary LanguagePHP

CqrsEsAgility

Generate many common files needed by providing a simple config

  • Command (extends Prooph\Common\Messaging\Command)
  • CommandHandler
  • Event (extends Prooph\EventSourcing\AggregateChanged)
  • EventListener
    • can add additional commands
  • Projector

todo

  • tests
  • generate tests for files created
  • plenty more

usage

there's a provided "hockey" sample config, which is enough to get started

php public/index.php

generated files are in ./generated