Looking to hire Laravel developers? Try LaraJobs

laravel-file-queue maintained by mumincacao

Description
File based queue driver for Laravel.
Author
Last update
2025/05/09 04:50 (dev-main)
License
Links
Downloads
38

Comments
comments powered by Disqus

Laravel 用ファイルキュー

インストール方法

  1. パッケージのインストール
composer require mumincacao/laravel-file-queue
  1. 設定
key 必須 デフォルト値 備考
queue.connections.file.driver string o file ドライバ名
queue.connections.file.path string o - キューとして使うディレクトリ。 基本的には storage_path() からの相対パスで指定。
queue.connections.file.is_absolute bool - false キューとして使うディレクトリを絶対パスで指定するときは true にする。
queue.connections.file.queue string - default キュー名を指定しなかったときに使うキューの名称。
queue.connections.file.permission int - 0777 キュー用ディレクトリを自動作成するときのパーミッション。
<?php
/// config/queue.php
return [
/// snip
    'connections' => [
/// snip
        'file' => [
            'driver' => 'file',
            'path' => 'queue',
            'is_absolute' => false,
            'queue' => 'default',
            'permission' => 0777,
        ],
    ],
/// snip
];

LICENSE

MIT