๐ฉโ๐ป Join our community of thousands of amazing developers!
In most applications you store the state of the application in the database. If something needs to change you simply update values in a table. When using event sourcing you'll take a different approach. All changes to application state are stored as a series of events. The key benefit is that you now have a history of your database. You can derive any data your application needs using those stored events. There are already a couple of very well written PHP packages, like prooph or EventSauce, th...