PHP code example of deboorn / expbackoffworker

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

    

deboorn / expbackoffworker example snippets


    # Add `QueueServiceProvider` to the `providers` array
    'providers' => [
        ...
        ExpBackoffWorker\QueueServiceProvider::class,
    ]
    

        # Update `retry_after` for the queue connection you plan to use
        'redis' => [
              ...
            'retry_after' => 7300,
        ],