chenjiahao/rabbitmq

rabbitmq laravel

v2.5 2019-08-12 11:13 UTC

This package is not auto-updated.

Last update: 2022-01-26 14:40:54 UTC


README

composer require chenjiahao/rabbitmq

在配置文件app.php加入

'providers' => [
    
     CustomRabbitmq\RabbitMQServiceProvider::class,
     .
     .
     ..
     .
],

php artisan vendor:publish 选择 CustomRabbitmq\RabbitMQServiceProvider

设置进程名称eeeee php artisan RabbitMQCommand eeeee

app('RabbitMQJob')->send('sfs');