Pros and cons

Pros

  • Based on the rich features provided by prooph components
  • Ready-to-use skeleton
  • Less code to write
  • Guided event sourcing
  • extension points to inject custom logic
  • Audit log from day one (no data loss)
  • Replay functionality
  • Projections based on domain events
  • PSR friendly http message box
  • OpenAPI v3 Swagger integration
  • Message flow analyzer (work in progress)
  • Event store HTTP API (work in progress)

Cons

  • Not suitable for monolithic architectures

You may want to use Event Machine if:

  • Your project is in an early stage and you need to try out different ideas or deliver features very fast
  • You want to establish a Microservices architecture rather than building a monolithic system
  • You want to automate business processes
  • You have to develop a workflow-oriented service
  • You're new to the concepts of CQRS and Event Sourcing and want to learn them
  • You want to try CQRS and Event Sourcing in a side project without spending too much time with the theory

Conclusion

Try the tutorial and build a prototype with Event Machine! (If you are interested, you can contact us for a guided workshop)

Fork me on GitHub