~/talk

From Events to Insights: Testing and Documenting Event‑Based Software

Talkat PHP UK Conference 2026 · on Friday, 2026-02-20· [testing, php]
slides:none on file

Event‑sourced examples reconstruct a bank account from an event stream and tests written in PHP using PHPUnit adopt a given-when-then API to assert emitted domain events; PHPUnit’s provideAdditionalInformation hook transports JSON test metadata to a custom Graphviz dot‑based extension that writes SVG/PDF diagrams. The repo shows working code, runnable tests and an extension registered in phpunit.xml that generates per‑test sticky‑note visuals and an overall event‑map linking emitters, readers and projections.

AI-written summary · about

  1. 0:00Event-based software intro
  2. 5:29Event-based vs event-sourced systems
  3. 10:11Event sourcing in PHP
  4. 17:04Layered architecture
  5. 19:48Testing event-based software
  6. 25:30Unit testing command processors
  7. 27:41Given-when-then for events
  8. 32:12Visual docs from tests
  9. 36:09Architecture mapping
  10. 45:21Key takeaways
  11. 47:08Resources and final acknowledgments
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.