Download the PHP package macklus/yii2-simple-queue without Composer
On this page you can find all versions of the php package macklus/yii2-simple-queue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-simple-queue
Yii simple queue worker
Yii2 extension to provide SQL based queue worker
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Configuration
Once the extension is installed, configure it define queue component :
Optional vars are:
- connection: Database connection
- table: Name of database table
- persistent: If true, no jobs will be delete from database, marked as ENDED as well
- duplicate_jobs: Search before insert new job to detect similar one exists
Usage
Once the extension is configured, simply use it to put a job on a queue:
Controller
You need a controller to get (and process) all jobs. In example:
All versions of yii2-simple-queue with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
*
The package macklus/yii2-simple-queue contains the following files
Loading the files please wait ....