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

Event Store Dbal Laravel Package

micro-module/event-store-dbal

A Doctrine DBAL-backed event store for micro-module applications. Persist and replay domain events in a relational database through a simple API suited to event sourcing and CQRS workflows.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • "Do we event source?" as a real, cheap-to-test decision. The package is a thin, MIT-licensed persistence adapter over doctrine/dbal, so it makes event sourcing concrete enough to spike against a real schema in days rather than weeks. That is the primary product value here: it lowers the cost of the decision, not the cost of the build.
  • Feature-level justification for an append-only event log. If you are weighing audit trails, compliance/immutable history, "what did this record look like on date X" temporal queries, replay-based recovery from bad data, or deriving multiple read models (CQRS) from one write stream, this is the class of component that enables them.
  • Build vs buy, narrowly scoped. It buys you the append-only store layer only — not projections, subscriptions, snapshots, upcasting, or framework wiring. Frame the decision as "build a small store vs adopt a small store," not "build an event-sourcing platform vs buy one."
  • Coupling and portability. Because it sits on DBAL rather than Eloquent, choosing it signals a framework-agnostic store that could survive a move off Laravel. That is a genuine architectural lever if Laravel is not a permanent commitment.
  • Roadmap sequencing. Given 0 stars, 0 dependents, and a last release of May 2022, treat this as a spike dependency, not a production commitment. It should inform whether event sourcing enters the roadmap; it should not itself enter the architecture review as an approved component without a fork plan.

When to Consider This Package

Consider it when:

  • You have already decided (or are actively testing) event sourcing, and you want a minimal store rather than a whole opinionated framework.
  • You are already on Doctrine DBAL, or you want the option to be, and a small dependency surface is worth more to you than batteries-included tooling.
  • You are running a timeboxed spike and can accept that the code is small enough to read, vendor, and fork.
  • You have verified the maintainer is reachable and that the 2022 code still installs cleanly against your PHP and DBAL versions — the underlying doctrine/dbal is well-maintained; the risk is concentrated in this thin layer, which is also correspondingly replaceable.

Look elsewhere when:

  • You need active maintenance, a security-response path, or any signal of community validation — 0 stars, 0 dependents, and a two-plus-year-old last release provide none of these.
  • You need snapshots, projections, subscriptions, event upcasting, or Laravel service-provider integration. The description does not indicate these exist, so assume they do not.
  • You are committing to production in a regulated environment where an unmaintained dependency needs a named owner and a documented exit.
  • You want a supported path: compare spatie/laravel-event-sourcing for a Laravel-native ecosystem, eventsauce/eventsauce for a framework-agnostic PHP option, or prooph/event-store / broadway/broadway for more established stores. The opportunity score (28.25) reflects that the market gap this fills is small given those incumbents.

How to Pitch It (Stakeholders)

To executives: This is a low-cost way to answer a strategic question — should our product keep a complete, replayable history of what happened, and what would that unlock (audit and compliance, customer-visible history, safe recovery from data errors, new analytics read models)? It is MIT-licensed, tiny, and easy to walk away from, so the downside is bounded to engineering days, not platform lock-in. The upside is a validated architecture decision backed by a working prototype. Recommendation: fund a timeboxed spike, not adoption.

To engineering: It is a thin append-only store over doctrine/dbal — deliberately unopinionated, and framework-agnostic by virtue of the DBAL dependency. The design risk is low because the surface is small and the underlying driver is mature; the maintenance risk is the real issue (no releases since May 2022, no dependents, single maintainer). So evaluate it as reference implementation and starting point, budget a fork, and do not treat it as a supported dependency. If the spike succeeds, re-run the build-vs-buy against Spatie or EventSauce before committing to production.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings