geekshubs / rabbitmq
Package from RabbitMQ adapter
Installs: 3 700
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 6
Forks: 2
Open Issues: 1
Requires
- php: >=7.4
- laravel/framework: ^6|^7|^8
Requires (Dev)
- illuminate/contracts: ^6|^7|^8|^9
- illuminate/support: ^6|^7|^8|^9
- laravel/framework: ^6|^7|^8
- orchestra/testbench-dusk: ^4|^5|^6
- phpunit/phpunit: ^6|^7|^8
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2024-12-21 22:38:33 UTC
README
Adaptation of the php-amqplib package for Laravel
Adaptation of the php-amqplib package for use in Laravel made with much π
For more information on php-aqpmqblib package visit their repository
π Installation
Require the geekshubs/rabbitmq
package in your composer.json
and update your dependencies:
composer require geekshubs/rabbitmq
Add env parameters to configuration in Lumen and Laravel.
RABBITMQ_HOST=rabbit RABBITMQ_PORT=5672 RABBITMQ_USER=rabbitmq RABBITMQ_PASSWORD=rabbitmq RABBITMQ_VHOST='/'
In app/config/app.php add the following :
The ServiceProvider to the providers array :
Geekshubs\RabbitMQ\RabbitMQServiceProvider::class,
π‘ Lumen
On Lumen, just register the ServiceProvider manually in your bootstrap/app.php
file:
$app->register(\Geekshubs\RabbitMQ\RabbitMQServiceProvider::class);
and add this lines in same file.
//Add lines to error reflection class $app->instance('path.config', app()->basePath() . DIRECTORY_SEPARATOR . 'config'); $app->instance('path.storage', app()->basePath() . DIRECTORY_SEPARATOR . 'storage');
πΎ Examples
In this Video https://youtu.be/wsMW1ylogl0
In this Repo
π Change log
Please see CHANGELOG for more information what has changed recently.
π¦ΈββοΈ Contribute.
Feel free to make as many pull requests as you think fit, because there are so many things to do, all help is welcome.
Here is a guide if you want to take a look(https://github.com/GeeksHubsAcademy/2020-geekshubs-convenio/blob/master/contributing.md)
If you find a bug, let us know here .
If you request a new feature.