Weave Code
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 Laravel Package

prooph/event-store

Common interfaces and classes for Prooph Event Store implementations. Provides the core building blocks to work with event stores, with persistent implementations available via separate TCP and HTTP client packages. Supports PHP 7.4+ (v7).

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Event-Driven Architecture (EDA) Adoption: Enables teams to transition from CRUD-based systems to event-sourced workflows, improving scalability and auditability for critical business processes (e.g., financial transactions, supply chain tracking).
  • Decoupling Microservices: Facilitates loose coupling between services by publishing domain events, reducing direct API dependencies and enabling asynchronous communication.
  • Real-Time Data Processing: Powers features like live dashboards, notifications, or fraud detection by leveraging event streams for near-instant updates.
  • Compliance & Auditability: Provides immutable event logs for regulatory requirements (e.g., GDPR, SOX) without modifying core business logic.
  • Build vs. Buy: Avoids reinventing event store infrastructure, reducing technical debt while maintaining flexibility (vs. managed services like AWS EventBridge).
  • Roadmap Prioritization: Justifies investment in event-driven features (e.g., "Customer Journey Analytics") by leveraging this package’s maturity and PHP ecosystem integration.
  • Testing & Maintainability: New – Strengthens long-term adoption by ensuring compatibility with modern PHP tooling (PHPUnit, roave/bc-checker), reducing friction for teams enforcing strict code quality standards (e.g., backward compatibility checks).

When to Consider This Package

  • Use Case Alignment: Ideal for domains where state changes are critical (e.g., payments, inventory, user sessions) and temporal queries (e.g., "Show me all events for Order #123") are needed.
  • PHP Ecosystem Fit: Preferable if your stack is Laravel/Symfony or PHP-heavy, with existing Prooph/EventSourcery tooling (e.g., for CQRS patterns).
  • Team Expertise: Adopt if your team has event-sourcing experience or is willing to upskill; otherwise, consider higher-level abstractions (e.g., Axon Framework for Java).
  • Testing Rigor: New – Prioritize if your team enforces strict backward compatibility or uses roave/bc-checker in CI pipelines, as this release aligns with those practices.
  • When to Look Elsewhere:
    • Non-PHP Stacks: For Node.js/Python, evaluate native event store solutions (e.g., EventStoreDB, Kafka).
    • Managed Services: If operational overhead is a concern, prioritize serverless options (e.g., AWS Kinesis, Azure Event Hubs).
    • Simple CRUD Apps: Overkill for read-heavy applications without event-driven requirements.
    • Strict Latency Needs: If sub-10ms event processing is mandatory, consider in-memory solutions (e.g., Redis Streams) with custom persistence.
    • Legacy Test Dependencies: New – Avoid if your project relies on deprecated abstract test classes from Prooph Event Store (now renamed due to PHPUnit changes). Refactoring cost may outweigh benefits for small teams.

How to Pitch It (Stakeholders)

For Executives: "This package now includes enterprise-grade tooling compatibility, like roave/bc-checker, to ensure our event-driven systems evolve without breaking changes. For example, we could deploy a real-time fraud detection system where every transaction emits an event—enabling faster alerts while meeting compliance. The latest update also future-proofs our investment by aligning with PHPUnit’s latest standards. Upfront cost? Minimal—we avoid custom dev work, and the open-source license keeps us agile. Caveat: Teams using outdated test classes may need a small refactor, but this is a one-time effort for long-term stability."

For Engineering: *"Prooph/EventStore v7.12.3 now plays nicely with modern PHP tooling:

  • BC Checks: roave/bc-checker integration ensures we don’t accidentally break downstream services.
  • PHPUnit 10+: Abstract test classes were renamed—refactor your tests if you’re using the old ones (see changelog).
  • Laravel Synergy: Still integrates seamlessly with Eloquent, Queues, and Sanctum. Tradeoffs:
  • Migration Effort: Low for new projects; higher if you’ve customized old test classes.
  • Learning Curve: Event-sourcing still requires upskilling, but the ecosystem (e.g., Prooph Academy) mitigates this. Recommendation: Pilot with a non-critical feature (e.g., user activity feeds) to validate the refactor effort."*
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.
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon
itsemon245/lamet
baks-dev/dashboard
amoifr/pickle-panther-bundle
make-dev/orca
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle