Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Event Sourcing Laravel Package

patchlevel/laravel-event-sourcing

Laravel event sourcing with aggregates, projectors, reactors, snapshots, and a database-backed event store. Includes artisan tooling, testing helpers, and a clean API for modeling domain events in Laravel applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy: Avoid custom event-sourcing infrastructure in Laravel/PHP; adopt a package that provides event storage, projections, and replay primitives so the team can focus on domain features.
  • Roadmap sequencing: Add event sourcing to bounded contexts where auditability, temporal queries, or event-driven workflows are product differentiators—orders, payments, inventory, subscriptions, compliance trails, and user activity history.
  • Feature investment: Prioritize capabilities that depend on reliable event history, such as “view state at any point in time,” replay-based debugging, and downstream integrations triggered by domain events.
  • Release 1.5.0 impact: Metadata caching and Illuminate-based store implementations reduce performance and integration risk, making the package more viable for production Laravel apps. StackHydrator support gives engineering flexibility in reconstructing aggregates. No breaking changes indicated.
  • Adoption strategy: Pilot in one bounded context, validate operational behavior (projection rebuilds, storage growth, cache invalidation), then expand if event sourcing proves valuable.

When to Consider This Package

  • You are building on Laravel/PHP and need event sourcing, audit trails, event replay, or CQRS-style read models.
  • You want to use Laravel-native storage and caching patterns rather than introducing a separate event-store platform immediately.
  • Your domain has meaningful state transitions where “how we got here” matters for product, compliance, support, or analytics.
  • Your team can invest in event-sourcing design discipline: aggregate boundaries, event versioning, projection maintenance, and eventual consistency.
  • Look elsewhere if: you are not on Laravel/PHP; you need a fully managed event store with vendor SLAs; you require extreme throughput or multi-language event streaming; or your team is not prepared for the architectural shift and operational overhead of event sourcing.

How to Pitch It (Stakeholders)

  • For executives: This package lets us deliver auditable, event-driven product capabilities faster by leveraging the Laravel ecosystem instead of building event-sourcing infrastructure from scratch. Release 1.5.0 improves production readiness through metadata caching and native Laravel store support.
  • For engineering: The minor release adds metadata caching, Illuminate-based store implementations, and StackHydrator support, reducing custom integration work and improving read performance. No breaking changes are called out, so adoption risk is contained.
  • For product: Event sourcing enables traceability, replay, and temporal queries—useful for compliance, customer support, debugging, and features that depend on reliable domain event history. Adopt incrementally in a high-value bounded context first.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus