PHP code example of ignatenkovnikita / yii2-queuemanager
1. Go to this page and download the library: Download ignatenkovnikita/yii2-queuemanager 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/ */
ignatenkovnikita / yii2-queuemanager example snippets
'modules' => [
'queuemanager' => [
'class' => \ignatenkovnikita\queuemanager\QueueManager::class
]
],
'components' => [
'queue' => [
'class' => \yii\queue\redis\Queue::class,
'as log' => \yii\queue\LogBehavior::class,
'as quuemanager' => \ignatenkovnikita\queuemanager\behaviors\QueueManagerBehavior::class
// Other driver options
],
]
php composer.phar