---
title: "Backslash: Event Sourcing in PHP, Built for the Real World"
url: https://daily.dev/posts/backslash-event-sourcing-in-php-built-for-the-real-world-0hnlpx2sl
source_url: https://maximegosselin.com/posts/backslash-event-sourcing-in-php-build-for-the-real-world/
type: article
source: "Maxime Gosselin"
published: 2026-03-22T11:39:32.080Z
updated: 2026-03-22T11:39:51.750Z
tags: ["architecture", "php"]
reading_time: 4
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Backslash: Event Sourcing in PHP, Built for the Real World

**[Maxime Gosselin](https://daily.dev/sources/maximegosselin)** · 4 min read · 0 upvotes · 0 comments

## Summary

Backslash is an open-source PHP library for event sourcing designed for human-scale applications, not distributed systems at Netflix scale. Built over 10 years in production at a real organization, it uses a simple stack: a single MariaDB table as the event store and MongoDB for projections, with no message broker or distributed infrastructure. The library recently adopted Dynamic Consistency Boundary (DCB), which removes the need to define aggregate boundaries upfront. A runnable demo application using the course subscription domain is available on GitHub to help developers learn event sourcing in practice.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://maximegosselin.com/posts/backslash-event-sourcing-in-php-build-for-the-real-world/>

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#php](https://daily.dev/tags/php)

[View this post on daily.dev](https://daily.dev/posts/backslash-event-sourcing-in-php-built-for-the-real-world-0hnlpx2sl)
