The event sourcing analyser turns a patchlevel/event-sourcing codebase into a picture. It is a PHPStan extension that statically reads your aggregates, events, commands and subscribers and renders them as a diagram inspired by Event Storming or as a JSON model, without ever running your code.
Because the analysis is static, you get an always up to date overview of your domain straight from the source: every command that is handled, every event that is recorded and every subscriber that reacts to it.
This package is still work in progress. It is usable today, but no API is stable yet: class names, attributes and the output format may change in any release until a stable version is tagged.
composer require --dev patchlevel/event-sourcing-analyserNew here? The getting started guide walks you through analysing a small profile domain from installation to a rendered diagram.