leandrose / laravel-event-driven
A lightweight, extensible event-driven architecture package for PHP applications. It provides unified interfaces for publishing, consuming, and managing events using Kafka.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/leandrose/laravel-event-driven
Requires
- php: ^8.1
- ext-pcntl: *
- ext-rdkafka: *
- illuminate/console: ^10|^11|^12
- illuminate/contracts: ^10|^11|^12
- illuminate/database: ^10|^11|^12
- illuminate/support: ^10|^11|^12
Requires (Dev)
- orchestra/testbench: ^8.0
- phpunit/phpunit: ^10|^11|^12
This package is auto-updated.
Last update: 2025-11-27 16:53:19 UTC
README
A lightweight, extensible Event-Driven Architecture package for PHP applications. It provides unified interfaces for publishing, consuming, and managing events using Apache Kafka.
Topic/Queue Creation
| Connector | Create Topic | Consumer | Push Message |
|---|---|---|---|
| Kafka | Manual | Supported | Supported |
Features
- Unified interfaces for producers and consumers (
ConnectorInterface,ConsumerInterface) - Kafka support out of the box - powered by
php-rdkafka - Outbox pattern ready for reliable event delivery
- Extensible architecture - easily add connectors for RabbitMQ, SQS, etc.
- Event dispatching abstraction for seamless integration with Laravel or custom frameworks
- Decoupled design - reusable across microservices and monoliths
Installation
composer require leandrose/laravel-event-driven