udokmeci/yii2-lazy-process

This extensions runs yii2 queue after sending response.

Installs: 394

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

1.0.1 2020-05-14 12:59 UTC

This package is auto-updated.

Last update: 2024-10-14 22:17:56 UTC


README

This extensions mimics a queue to run after sending response.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist udokmeci/yii2-lazy-process "*"

or add

"udokmeci/yii2-lazy-process": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, attach behaviour to your reponse in config like :

...
	'response'=>[
		...
        'as queueRunner'=>'udokmeci\lazy\QueueRunnerBehavior'
    ],
...