PHP code example of indigophp / fuel-queue

1. Go to this page and download the library: Download indigophp/fuel-queue 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/ */

    

indigophp / fuel-queue example snippets

 php
// Simple way
\Queue::forge('process');
 php
'process' => function () {
    $pheanstalk = new Pheanstalk_Pheanstalk('localhost', 11300);
    return new Indigo\Queue\Connector\BeanstalkdConnector($pheanstalk);
}