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

Php Engine Laravel Package

event-engine/php-engine

CQRS/Event Sourcing framework for PHP to rapidly build event-sourced applications and evolve toward richer domain models. Customize architecture and programming style via “Flavours,” with a full tutorial and separate documentation repo.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Event-Driven Architecture (EDA) Adoption: Enables seamless integration of event-driven workflows into PHP/Laravel applications, reducing tight coupling between services and improving scalability.
  • Microservices & Decoupling: Facilitates breaking monolithic applications into modular, event-driven microservices, aligning with modern cloud-native architectures.
  • Real-Time Features: Powers real-time notifications, workflow automation, and reactive systems (e.g., chat apps, IoT dashboards, or financial transaction alerts).
  • Roadmap Acceleration: Reduces development time for event sourcing, CQRS, or pub/sub patterns by providing a pre-built engine, allowing teams to focus on business logic.
  • Build vs. Buy: Avoids reinventing event infrastructure (e.g., custom RabbitMQ/Kafka integrations) while offering more flexibility than managed services like AWS EventBridge.
  • Use Cases:
    • E-commerce: Order processing, inventory sync, and fraud detection pipelines.
    • SaaS: Multi-tenant workflows (e.g., triggering actions across user accounts).
    • Data Pipelines: Asynchronous ETL or data transformation jobs.
    • Legacy Modernization: Gradually introducing event-driven logic into older PHP monoliths.

When to Consider This Package

  • Adopt When:

    • Your team needs a lightweight, PHP-native event engine (not a full-fledged message broker like RabbitMQ).
    • You’re building Laravel-based systems requiring event sourcing, sagas, or pub/sub without external dependencies.
    • You prioritize developer productivity over ultra-low latency (e.g., not for high-frequency trading).
    • Your use case fits in-memory or file-based event storage (not distributed systems requiring persistence like PostgreSQL).
    • You want MIT-licensed, open-source with active maintenance (last release in 2025).
  • Look Elsewhere If:

    • You need distributed event streaming (e.g., Kafka, Pulsar) for high-throughput systems.
    • Your events require strong consistency or durability guarantees (e.g., financial systems).
    • You’re locked into non-PHP ecosystems (e.g., Node.js, Go) and need cross-language support.
    • You lack PHP expertise but have strong DevOps to manage custom event infrastructure.
    • Your budget allows for managed services (e.g., AWS EventBridge, Ably) with SLAs.

How to Pitch It (Stakeholders)

For Executives: "This PHP event engine lets us build scalable, real-time systems without heavy infrastructure costs. For example, we could use it to automate cross-service workflows in our e-commerce platform—like processing orders, updating inventory, and sending notifications—all without adding complexity. It’s like ‘serverless events’ for PHP, reducing our reliance on external brokers and speeding up feature delivery. The MIT license and active maintenance make it a low-risk bet."

For Engineering: *"This package gives us a batteries-included event engine for Laravel, with support for:

  • Event sourcing (track state changes via events).
  • Sagas (manage distributed transactions).
  • Pub/sub (decouple services with minimal boilerplate). It’s ~50% faster to implement than rolling our own with Laravel Queues or RabbitMQ, and it plays nicely with existing Laravel services (e.g., queues, jobs). The tradeoff? It’s not for ultra-high-scale systems—think 10K–100K events/sec rather than millions. Let’s prototype it for [X use case] and compare it to [alternative]."*

For Developers: *"Imagine writing event handlers like this:

EventEngine::listen('order.placed', function (OrderPlacedEvent $event) {
    // Trigger inventory update, send email, etc.
});

No need to manage Kafka clusters or RabbitMQ—this handles local pub/sub, retries, and even simple persistence. It’s perfect for:

  • Adding real-time features to Laravel apps.
  • Replacing spaghetti if-else logic with clean event flows.
  • Experimenting with CQRS without over-engineering. Downside: Not for distributed systems, but for most Laravel apps, it’s a game-changer."*
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.
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager