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
Requires
- yiisoft/yii2: ~2.0.0
- yiisoft/yii2-queue: ^2.0
This package is auto-updated.
Last update: 2024-11-14 22:31:10 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' ], ...