2017 © Pedro Peláez
 

library broadway-extras

Extras for broadway CQRS / event sourcing library

image

sunspikes/broadway-extras

Extras for broadway CQRS / event sourcing library

  • Friday, January 12, 2018
  • by sunspikes
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Broadway Extras

Extras for broadway CQRS / event sourcing library, (*1)

Installation

composer require sunspikes/broadway-extras

What's inside?

Saga, (*2)

StateManager: Use this to have multiple saga creation policies as defined in CreationPolicy or define custom creation policy with a closure callback creation_policy_callback, (*3)

DBALSagaRepository: DBAL driver for sagas, (*4)

DynamoDBSagaRepository: DynamoDB driver for sagas, (*5)

Serialization, (*6)

SerializableAggregateInterface & SerializationAwareTrait: Make aggregates serializable (so that it can be snapshotted), (*7)

Snapshotting, (*8)

CachingSnapshotEventSourcingRepository: Adds a caching layer to snapshots, so load will get the aggregate in the order Static Cache -> Cache -> Snapshot -> Events, (*9)

CacheSnapshotRepository & RedisCacheFactory: Snapshot the aggregates on in redis (or other cache stores), (*10)

DynamoDBEventStore: DynamoDB driver for event store, (*11)

TODO

Detailed usage & Integrations with frameworks guide, (*12)

Author

Krishnaprasad MG [@sunspikes], (*13)

Contact me at [sunspikes at gmail dot com], (*14)

The Versions