PHP code example of justinholtweb / craft-queuebert

1. Go to this page and download the library: Download justinholtweb/craft-queuebert 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/ */

    

justinholtweb / craft-queuebert example snippets


return [
    'components' => [
        'importQueue' => [
            'class' => \craft\queue\Queue::class,
            'db' => 'db',
            'channel' => 'import',
            'tableName' => '{{%queue}}',
            'mutex' => \craft\mutex\Mutex::class,
        ],
    ],
];