hirethunk/verbs-commands
Command support for the Verbs event sourcing package for Laravel. Dispatch and handle commands alongside your aggregates and projections, keeping write-side intent explicit and your event-sourced domain organized and testable.
hirethunk/verbs (an event-sourcing package). The decision it informs is whether to introduce a command layer between HTTP/queue entry points and your domain model — and whether to do it with an established, opinionated convention rather than hand-rolling one.Verification required before committing: confirm with engineering exactly what surface this package adds on top of verbs (handler auto-resolution? command generation? validation pipeline?), and whether it is load-bearing or optional convenience. I would not commit roadmap items to it until a spike confirms that.
Consider it when all of the following hold:
hirethunk/verbs (or are prepared to adopt it as part of the same decision). This package is an adjunct, not a standalone product — it is not a general-purpose command bus and does not replace laravel/framework's bus or spatie/laravel-event-sourcing.Look elsewhere when:
spatie/laravel-event-sourcing (large community, active maintenance) or ecotone are the mainstream alternatives; pick based on team familiarity, not features.One line: A small, MIT-licensed Laravel add-on that gives event-sourced applications a disciplined command layer — high leverage if we're already going event-sourced, near-zero value otherwise.
To executives: This is not a product; it's a construction material. It costs nothing to license, but the real cost is the architectural commitment it implies and the ownership we take on by adopting thinly-validated open source. Recommendation: do not fund it as an initiative. Approve it only as part of a bounded pilot in one domain where audit trail and state-history requirements are already on the roadmap — and require the pilot to demonstrate that the verbs ecosystem earns its operational overhead before we standardise.
To engineering: Strong conceptual fit for CQRS/event-sourcing work in Laravel and useful for enforcing command/handler conventions, but treat it as a fork candidate from day one — pin the version, keep an internal copy, and expect to maintain it. Low adoption (1 star, 0 dependents, single 2024 release) means no upstream safety net and no community answers when something breaks. Validate the integration in a one-week spike with a real aggregate before it touches a critical path.
Decision requested: Approve a time-boxed spike (1 engineer, ~1 week) in one bounded context; defer any broader adoption decision until the spike reports on ergonomics, maintenance burden, and whether verbs itself is worth the operational cost.
How can I help you explore Laravel packages today?