chenjiahao/new-rabbitmq

rabbitmq laravel

v1.5.0 2020-03-21 03:17 UTC

This package is not auto-updated.

Last update: 2024-07-07 04:57:23 UTC


README

cjh-rabbitmq

composer require chenjiahao/new-rabbitmq

在配置文件app.php加入

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

php artisan vendor:publish 选择 CJHRabbitmq\RabbitMQServiceProvider

设置进程名称eeeee php artisan CJHRabbitMQCommand eeeee

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