patchlevel/event-sourcing-phpunit
A dev testing toolkit for patchlevel/event-sourcing that lets you test aggregates and subscribers with clear given/when/then notation. Dispatch commands through #[Handle] methods, assert aggregate state with closures, and use subscriber setup, run, and teardown utilities.
"Test your event-sourcing aggregates and subscribers with a clear given / when / then notation."
when that also dispatches commands through your #[Handle] methodscomposer require --dev patchlevel/event-sourcing-phpunit
We are open to contributions as long as they are in line with our BC-Policy.
Also note that the composer.lock is always generated with the newest supported PHP version as this is the version our tools run in the CI.
How can I help you explore Laravel packages today?