PHP code example of al-one / laravel-queue-file

1. Go to this page and download the library: Download al-one/laravel-queue-file 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/ */

    

al-one / laravel-queue-file example snippets


# config/queue.php


return [
    'default' => env('QUEUE_DRIVER','file'),
    'connections' => [
        'file' => [
            'driver' => 'file',
            //'path'   => 'app/queue', // use storage_path() if not start with "/"
            //'queue'  => 'default',
        ],
    ],
];