Library PHP Tek 2026 Building Resilient PHP Applications with an Event-Driven Mindset
PHP Tek TV

Log in to watch this talk

You need to be logged in to access this video. If you don't have an account, purchase a virtual pass for the latest php[tek] conference to get access to the full video library.

Building Resilient PHP Applications with an Event-Driven Mindset

Savio Resende Savio Resende PHP Tek 2026 Intermediate (some prior knowledge necessary) Standard (50 minutes)

Event Sourcing is a powerful architectural pattern that captures application state changes as a sequence of immutable events, enabling robust, auditable, and scalable systems. In this beginner-friendly talk, we’ll demystify event sourcing and show how PHP developers can implement it effectively to solve real-world problems. We’ll explore the core philosophy of event sourcing - storing "what happened" instead of "what is" - and its benefits, including complete audit trails, simplified debugging, and flexibility for future features. Using practical PHP examples, we’ll walk through a simple event-sourced system with a relational database (e.g., MySQL) in a Laravel example. Attendees will learn key concepts like event stores, aggregates, and how that causes optimized performance. This talk is perfect for developers new to event sourcing or those curious about its practical applications in PHP. By the end, you’ll have a clear understanding of how to start incorporating event sourcing into your projects, whether for e-commerce, financial systems, or complex workflows. Join us to discover how event sourcing can make your PHP applications more resilient and adaptable!