djereg/async-queue
Composer 安装命令:
composer require djereg/async-queue
包简介
Async queue driver for Laravel framework.
README 文档
README
Push the queued job to the background without waiting for its response. Now you can use the "file" and "cache" storage type. The "database" is coming soon.
Installation
Add the package to your composer.json:
{
"require": {
"djereg/async-queue": "dev-master"
}
}
Add the Service Provider to the providers array in config/app.php
'providers' => array( // ... 'Djereg\AsyncQueue\AsyncQueueServiceProvider', // ... )
Now you have to use the async driver in config/queue.php
'default' => 'async', 'connections' => array( // ... 'async' => array( 'driver' => 'async', 'storage' => 'file', // "file" and "cache" is now available ), // ... }
That's all!
For more info see http://laravel.com/docs/queues
统计信息
- 总下载量: 323
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-12-02