Download the PHP package solidframe/event-driven without Composer
On this page you can find all versions of the php package solidframe/event-driven. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download solidframe/event-driven
More information about solidframe/event-driven
Files in solidframe/event-driven
Download solidframe/event-driven
More information about solidframe/event-driven
Files in solidframe/event-driven
Vendor solidframe
Package event-driven
Short Description Event-driven building blocks: EventBus implementation, listener resolver for SolidFrame
License MIT
Package event-driven
Short Description Event-driven building blocks: EventBus implementation, listener resolver for SolidFrame
License MIT
Please rate this library. Is it a good library?
Informations about the package event-driven
SolidFrame Event-Driven
EventBus implementation with listener resolution and middleware support.
Dispatch domain events to one or more listeners. Decouple your application with event-driven communication.
Installation
Quick Start
Define an Event
Define Listeners
Dispatch
Standalone Usage
Without a framework bridge:
Middleware
Add cross-cutting concerns to event processing.
Key Differences from CQRS
| Command/Query | Event | |
|---|---|---|
| Handlers | Exactly one | Zero or more |
| Return value | Query returns data | None |
| Purpose | Execute action / fetch data | Notify what happened |
API Reference
| Class / Interface | Purpose |
|---|---|
EventListener |
Marker interface for listeners |
ListenerResolverInterface |
Contract for resolving listeners per event |
InMemoryListenerResolver |
In-memory listener registry |
EventBus |
Dispatches events to all resolved listeners |
Related Packages
- solidframe/core —
DomainEventInterface,EventBusInterface, Middleware - solidframe/ddd — AggregateRoot records events via
recordThat() - solidframe/cqrs — Dispatch events after command handling
- solidframe/event-sourcing — Persist events as source of truth
- solidframe/laravel — Auto-discovery, DI,
make:domain-event,make:event-listener - solidframe/symfony — Compiler pass, DI, same generators
Contributing
This repository is a read-only split of the solidframe/solidframe monorepo, auto-synced on every push to main. Issues, pull requests, and discussions belong in the monorepo.
All versions of event-driven with dependencies
PHP Build Version
Package Version
The package solidframe/event-driven contains the following files
Loading the files please wait ...