/laravel-queue-file

File based driver for Laravel Queue

Primary LanguagePHPMIT LicenseMIT

File based driver for Laravel Queue

Installing

# composer.json

"minimum-stability": "dev",
"prefer-stable": true,
$ composer require "al-one/laravel-queue-file" -vvv

Usage

# config/queue.php
<?php

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

License

MIT