arhitov / laravel-rabbitmq
The message broker on RabbitMQ for Laravel Framework.
Requires
- php: >=7.4|^8.0
- ext-json: *
- php-amqplib/php-amqplib: ^3.0
Requires (Dev)
- laravel/framework: ^8.75
- nunomaduro/collision: ^5.10
- orchestra/testbench: ^6.28
- phpunit/phpunit: ^9.5.10
This package is auto-updated.
Last update: 2024-12-28 00:18:38 UTC
README
The LaravelRabbitMQ component is a de facto package that was designed to help you interact with the RabbitMQ message broker. LaravelRabbitMQ is based on php-amqplib.
Supported
- Simple Queue
- Exchange
- Daemon
- Queue Job
Requirements
- PHP (7.4+)
- php-amqplib/php-amqplib (3.0+)
- laravel/framework (8.0+)
Setup
Ensure you have composer installed, then run the following command:
$ composer require arhitov/laravel-rabbitmq
And save configuration file
$ php artisan vendor:publish --tag="config"
Usage
See Example folder. Also, you can ask me.
Tests
To successfully run the tests you need to first have a stock RabbitMQ broker running locally.Then, run tests like this:
$ php ./vendor/bin/testbench package:test
Sponsor my work!
If you think this package helped you in any way, you can sponsor me! I am a free developer, so your help will be very helpful to me. 😊
License
LaravelRabbitMQ is open-sourced software licensed under the MIT license.
Authors
Alexander Arhitov clgsru@gmail.com
Welcome here! 🤘