Event facade) and Symfony Messenger integration. This could replace or augment Laravel’s queue system (laravel-queue) for high-throughput, distributed workflows.RabbitMQConnection, MessageProducer) are language-agnostic and could be adapted for Laravel via Symfony’s symfony/amqp-messenger or a custom bridge. Laravel’s illuminate/support and illuminate/events could interface with the package’s event system.MessagePublishingEvent or MessageProcessedEvent enable observability and cross-cutting concerns (e.g., logging, metrics), which Laravel’s event listeners or middleware could leverage.symfony/amqp-messenger, symfony/messenger), which are not natively in Laravel. A wrapper layer (e.g., a Laravel service provider) would be needed to:
Messenger component.Message objects.Queue facade or a singleton).php artisan queue:work) would need to be extended to support RabbitMQ consumers. The package’s Consumer class could be integrated via a custom worker command..env and config/queue.php would need to coexist with the package’s Symfony-style configuration (e.g., config/packages/djereg_rabbitmq.yaml). A unified config resolver would mitigate this.php-amqplib or enqueue/amqp-ext could reduce dependency surface.QueueFailedJob). Custom middleware would be needed.replace or a monorepo)?Queue facade lacks RabbitMQ-specific tools.symfony/messenger as a dependency, but wrap it in a Laravel service provider to:
Messenger::setDefaultBus().Event::dispatch() → MessageBus::dispatch()).QueueWorker to support RabbitMQ consumers by:
RabbitMQConsumer class that implements ShouldQueue.php artisan queue:work to include RabbitMQ listeners.Event → Symfony Message.Consumer → Laravel QueueWorker.config/queue.php).pecl install amqp).Serializer or Laravel’s JsonSerializable).RabbitMQServiceProvider to bootstrap the bridge.config/queue.php and Symfony’s djereg_rabbitmq.yaml.composer.json.rabbitmq-multiverse repo for breaking changes.config/caching to reduce runtime config parsing.rabbitmqctl, php-amqplib logs).queue:failed table won’t capture RabbitMQ failures; implement custom logging.symfony/amqp-messenger's retry logic).RabbitMQConnection) carefully.queue:work --sleep=3 --tries=3).symfony/amqp-messenger's connection_factory).How can I help you explore Laravel packages today?