geekshubs/rabbitmq
最新稳定版本:0.7.4
Composer 安装命令:
composer require geekshubs/rabbitmq
包简介
Package from RabbitMQ adapter
README 文档
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.
统计信息
- 总下载量: 5.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-30
