myli/laravel-jobs-plain
最新稳定版本:v2.0.3
Composer 安装命令:
composer require myli/laravel-jobs-plain
包简介
Custom connectors for Laravel that supports plain JSON instead of laravel-specifics format
README 文档
README
composer require myli/laravel-jobs-plain
Remove the laravel dependency on jobs allowing you to process queue jobs with other non-laravel services that push plain json jobs into the queue.
Config
Add the following to your config/queue.php :
'sqs-plain' => [
'driver' => 'sqs-plain',
'key' => env('AWS_QUEUE_KEY'),
'secret' => env('AWS_QUEUE_SECRET'),
'prefix' => env('AWS_PREFIX'),
'queue' => 'test',
'region' => 'eu-west-1',
],
'pubsub-plain' => [
'driver' => 'pubsub-plain',
'queue' => 'test',
'project_id' => env('PUBSUB_PROJECT_ID'),
'retries' => 3,
'request_timeout' => 60,
'keyFilePath' => base_path() . '/' . env('PUBSUB_QUEUE_KEY'),
],
统计信息
- 总下载量: 9.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-06-13