becklyn/eventor-symfony
Minimal pub/sub abstraction for Symfony, with built-in support for Dapr’s Pub/Sub API. Configure via env vars and publish typed messages to topics, then register handlers and expose simple subscription and topic endpoints through a controller/registry.
Publisher, Subscriber, serialization) is framework-agnostic. Laravel’s dependency injection (DI) and HTTP stack (e.g., route handling) can accommodate the package with minor adaptations (e.g., replacing Symfony’s AbstractController with Laravel’s Controller).Publisher vs. Subscriber), making it easier to integrate without monolithic changes./dapr/pubsubname/topic), which Laravel’s routing system can support. However, Laravel’s middleware pipeline (e.g., auth, validation) may need to be manually integrated into the subscription flow.Serializer component (compatible with Laravel via symfony/serializer). Laravel’s native JSON serialization could conflict; explicit configuration may be needed.laravel-telemetry) or custom instrumentation.AbstractController or FrameworkBundle may not translate directly.Serializer? If so, how will this be resolved (e.g., service binding)?FrameworkBundle for service registration. The Publisher and DaprSubscriptionRegistry can be bound as singletons.#[Route] annotations with Laravel’s Route::post() or controller methods. Middleware (e.g., auth, CORS) can be wrapped around subscription endpoints.Request and Response classes are compatible with the package’s handleTopic() method.Publisher interface can be extended to support non-Dapr brokers (e.g., RabbitMQPublisher). A facade pattern (e.g., EventPublisher) could unify the API.Serializer with Laravel’s JsonSerializable or use a shared service (e.g., Symfony\Component\Serializer\Serializer).LaravelPublisher, LaravelSubscriber) to handle framework differences (e.g., routing, middleware).KafkaPublisher) using the package’s interfaces.spatie/laravel-otel) or replace tracing with Laravel-compatible alternatives (e.g., monolog).symfony/framework-bundle (v6.1+) and symfony/serializer. Laravel can include these via Composer, but conflicts may arise with Laravel’s native components (e.g., illuminate/support). Use replace in composer.json to avoid version conflicts.AppServiceProvider or a dedicated EventorServiceProvider.ValidateSignatureMiddleware for Dapr).Event::dispatch()).becklyn/eventor-symfony to composer.json and resolve Symfony dependency conflicts.Publisher and DaprSubscriptionRegistry in Laravel’s container.Publisher.dapr) and Laravel’s telescope for debugging pub/sub flows.handleTopic) could become a bottleneck. Consider:
Serializer may add overhead.How can I help you explore Laravel packages today?