Skip to content

vksee/yii2-queue

 
 

Repository files navigation

Yii 2.0 Queue Extension

This extension provides queue handler for the Yii framework 2.0.

Installation

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.

Usage

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)'
    ],
],

About

Yii 2.0 Queue Extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%