定制 firevel/cloud-tasks-queue-driver 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

firevel/cloud-tasks-queue-driver

最新稳定版本:0.1.1

Composer 安装命令:

composer require firevel/cloud-tasks-queue-driver

包简介

Cloud Tasks queue driver for Laravel apps running inside Google App Engine.

README 文档

README

Cloud Tasks queue driver for Laravel apps running inside Google App Engine or Google Cloud Run. Driver is compatible with Firevel and Laravel.

Configuration

Add to your config/queue.php:

 'cloudtasks' => [ 'driver' => 'cloudtasks', 'service' => env('GAE_SERVICE'), 'version' => env('GAE_VERSION'), 'route' => env('CLOUD_TASKS_ROUTE', '/_cloudtasks'), 'project' => env('GOOGLE_CLOUD_PROJECT'), 'location' => env('CLOUD_TASKS_LOCATION', 'us-central1'), // Location must match your App Engine project location. 'queue_name' => env('CLOUD_TASKS_QUEUE', 'default'), ], 

Set QUEUE_CONNECTION to cloudtasks, and update CLOUD_TASKS_LOCATION in your .env file.

If you use a proxy or load balancer that overrides URLs you can set url in the queue config.

Cloud Tasks setup

Create queue using queue.yaml or gcloud (read more).

Example queue.yaml:

queue: - name: default rate: 500/s 

Example gcloud command:

gcloud tasks queues create default 

Routing

Inside App Engine routing matching service and version, so your task will always match version it was dispatched from. Inside Cloud Run it will always be handled by promoted version.

统计信息

  • 总下载量: 10.55k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固