This extension provides queue handler for the Yii framework 2.0.
The preferred way to install this extension is through composer.
Either run
php composer.phar require yiisoft/yii2-queue
or add
"yiisoft/yii2-queue": "dev-master"
to the require section of your composer.json.
To use this extension, simply add the following code in your application configuration:
####SqlQueue
'components' => [
'queue' => [
'class' => 'yii\queue\SqlQueue',
],
],
####RedisQueue
'components' => [
'queue' => [
'class' => 'yii\queue\RedisQueue',
'redis' => '(your redis client)'
],
],
####SqsQueue
'components' => [
'queue' => [
'class' => 'yii\queue\SqsQueue',
'sqs' => '(your sqs client)'
],
],