hirethunk/verbs
Verbs is a Laravel-friendly event sourcing package for PHP artisans that keeps the benefits of event sourcing while cutting boilerplate and jargon. Model behavior as verbs, record events, and build projections with a clean, approachable API.
"Verbs lets us build more resilient, auditable systems without the complexity of traditional event sourcing. Think of it like Git for your application state: every change is an atomic ‘commit,’ and we can always ‘revert’ to any past version. This reduces bugs in high-stakes workflows (like payments or compliance logs) and makes debugging 10x faster. For example, if a user’s subscription fails, we can replay events to see exactly what went wrong—no more guessing. It’s a drop-in solution for Laravel, so we avoid reinventing the wheel, and it plays nicely with our existing stack (Livewire, queues). Early adopters like [hypothetical company] cut their audit-related dev time by 40%."
Ask:
*"Verbs is a Laravel package that turns event sourcing from a ‘write a framework’ task into a ‘write verbs’ task. Here’s why it’s a game-changer for us:
No More Boilerplate:
User::createProfile() instead of mutating models directly.Debugging Superpowers:
verb()->replay().Scalable by Design:
Laravel Native:
User::update(['status' => 'active']) with:
User::verb()->activate();
Trade-offs:
Proposal:
verb() helper to wrap 1–2 critical workflows, then expand.Ask:
How can I help you explore Laravel packages today?