2017 © Pedro Peláez
 

yii2-extension yii2-rabbit

yii2 rabbit extension

image

shinomontaz/yii2-rabbit

yii2 rabbit extension

  • Tuesday, October 31, 2017
  • by shinomontaz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-rabbit

confic example:, (*1)

'components' => [
        ...
'rabbit' => [
    'class' => 'shinomontaz\rabbit\Rabbit',
    'host' => '<host>',
    'port' => '<port>',
    'user' => '<user>',
    'password' => '<pass>',
    'vhost' => '<vhost>',
    'layout' => [
    '<exchangeName1>' => [
        'type' => '<direct>',
        'durable' => <durable>,
        'queues' => [
            '<queueName1>' => [
                'durable' => <durable>,
                'type' => '<direct>',
                'worker' => path\to\worker::class,
            ],
        ],
    ]
    ],
    ],
    ...
],
\Yii::$app->rabbit->schedule( $message, '<exchangeName>', 'routingKey');
php yii consoleController/process <queueName>

The Versions

31/10 2017

dev-master

9999999-dev

yii2 rabbit extension

  Sources   Download

MIT

The Development Requires

by Denis Rybakov

yii2 rabbit