andreo/eventsauce-outbox
Extended outbox components for EventSauce on PHP 8.2+. Includes an outbox-aware aggregate repository, a forwarding message consumer to dispatch to your queue, and a Symfony Console command to consume relays with batch/commit, sleep, and limit options.
ServiceLocator, Console) to integrate it into Laravel using:
symfony/console via Composer).ServiceLocator with Illuminate\Container).batch-size/commit-size) must align with Laravel’s queue worker capabilities.outbox_messages table. EventSauce may handle this, but a TPM must:
ServiceLocator, Console) introduces:
Log facade or Prometheus).batch-size and commit-size settings may need tuning.events).MessageDispatcher with Laravel’s Bus or Queue system.Illuminate\Support\ServiceLocator).OutboxMessagesConsumeCommand as a Laravel Artisan command or use a Symfony Bridge (e.g., symfony/console via Composer).spatie/laravel-outbox) and adapt EventSauce’s logic to work with them.EventSourcedAggregateRootRepositoryForOutbox with Laravel-compatible dependencies:
ServiceLocator with Laravel’s container.MessageRepository and AggregateRootRepository to work with Laravel’s database.EventSauce\EventSourcing\MessageDispatcher to use Laravel’s Bus or Queue system.OutboxMessagesConsumeCommand to an Artisan command:
Artisan::command() to replicate Symfony’s CLI functionality.Schedule::command()) for automated processing.batch-size and commit-size based on performance metrics (e.g., TPS, latency).relay_id, processed_at).EventSourcedAggregateRootRepositoryForOutbox:
ServiceLocator.MessageRepository.MessageDispatcher adapter:
EventSauce\EventSourcing\MessageDispatcher to push messages to Laravel’s queue.OutboxMessagesConsumeCommand as an Artisan command:How can I help you explore Laravel packages today?