graychen / yii2-queue-backend
Background display queue statistics
Installs: 6 568
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ^2.0
- yiisoft/yii2-queue: ^2.0.2
- yiisoft/yii2-redis: ^2.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-11-09 04:17:12 UTC
README
This is a background for yii-queue, there are queue statistics, temporary support redis driver
Install by Composer
composer install graychen/yii2-queue-backend
Migrate database
add migrationPath in console file
'controllerMap' => [ 'migrate' => [ 'class' => 'yii\console\controllers\MigrateController', 'migrationPath' => [ '@graychen/yii2/queue/backend/migrations' ], ], ],
run migration
yii migrate/up --migrationPath=@graychen/yii2/queue/backend/migrations
For Backend Module
Config module in config file
'queue' => [ 'class' => 'graychen\yii2\queue\backend\Module', ]