needle-project/laravel-rabbitmq
Integrate RabbitMQ into Laravel with a simple AMQP API for publishing and consuming messages. Configure connections, exchanges, and queues, run workers, and use Artisan commands to manage common RabbitMQ workflows alongside your Laravel queues. Suitable for apps needing direct AMQP access.
php artisan vendor:publish) and review the connection, exchange, queue, and consumer settings first. The config file is the primary source of truth for how consumers bind and run.BaseConsumerCommand. Your application should extend it (or use the provided command) rather than calling the underlying AMQP library directly. Look at how it resolves exchanges, queues, and message processors before writing new consumers.php artisan <consumer-command> to confirm binding and message flow.storage/logs/laravel.log, not just the terminal.As of v0.5.1, setup failures such as an inability to bind to an exchange are re-thrown by BaseConsumerCommand, so Laravel’s exception handler and logging stack can report them. That makes the first local run a better smoke test for misconfigured exchanges and credentials.
BaseConsumerCommand for each consumer group. Keep command classes thin: define which queue/exchange to consume and which processors to register, then delegate business logic to dedicated processor classes.BaseConsumerCommand re-throws exceptions raised before a message processor runs. Do not wrap parent::handle() in a broad try/catch that swallows binding or connection errors; otherwise you recreate the old CLI-only visibility problem in your own command.laravel.log will catch exchange/queue misconfiguration even when supervisor captures nothing useful.php artisan <consumer> in the foreground and watch both terminal output and laravel.log. In production, configure the same command with --no-interaction-style flags where available and verify that a deliberately bad exchange name produces a Laravel log entry.logging.php channels and ExceptionHandler are configured for the consumer environment.parent::handle() and let Laravel report setup errors.2>&1 to Supervisor and calling it done; use Laravel’s log stack. But keep supervisor stderr capture for fatal PHP errors and process-level crashes.laravel.log as a thrown exception, so search there first.How can I help you explore Laravel packages today?