rahmanramsi/laravel-async-queue
最新稳定版本:1.0.0
Composer 安装命令:
composer require rahmanramsi/laravel-async-queue
包简介
Async queue driver for laravel
README 文档
README
Async Queue driver for Laravel provides an asyncronous queue processing without using any third-party queue services like Redis, RabbitMQ, etc.
Under the hood, it uses AMPHP to handle asyncronous queue processing. All jobs are processed after the response is sent to the browser.
Installation
You can install this package via composer using this command:
composer require rahmanramsi/laravel-async-queue
The package will automatically register itself.
Configuration
Add connection to config/queue.php:
This is the config for the async connection/driver to work.
'connections' => [ // ... 'async' => [ 'driver' => 'async', ], // ... ],
Usage
Change the default queue driver to async in your .env file:
QUEUE_CONNECTION=async
If you do not know how to use the Queue API, please refer to the official Laravel documentation: http://laravel.com/docs/queues
Contribution
You can contribute to this package by discovering bugs and opening issues. Please, add to which version of package you create pull request or issue. (e.g. [5.2] Fatal error on delayed job)
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 601
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-31