PHP code example of graychen / yii2-queue-backend
1. Go to this page and download the library: Download graychen/yii2-queue-backend library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
graychen / yii2-queue-backend example snippets
'controllerMap' => [
'migrate' => [
'class' => 'yii\console\controllers\MigrateController',
'migrationPath' => [
'@graychen/yii2/queue/backend/migrations'
],
],
],
php
'queue' => [
'class' => 'graychen\yii2\queue\backend\Module',
]