berlioz/queue-manager-package 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

berlioz/queue-manager-package

最新稳定版本:v2.1.0

Composer 安装命令:

composer require berlioz/queue-manager-package

包简介

Queue Manager package for Berlioz Framework

README 文档

README

Latest Version Software license Build Status Quality Grade Total Downloads

This package is intended to provide Queue Manager in Berlioz Framework.

For more information, and use of Berlioz Framework, go to website and online documentation : https://getberlioz.com

Installation

Composer

You can install Queue Manager Package with Composer, it's the recommended installation.

$ composer require berlioz/queue-manager-package

Dependencies

  • PHP ^8.2
  • Packages:
    • berlioz/cli-core
    • berlioz/queue-manager

Commands

  • queue:size: Get size of queues
  • queue:purge: Purge queues of all jobs
  • queue:worker: Start work for queues jobs

Configuration

Default configuration:

{
  berlioz: {
    queues: {
      queues: [
        {
          type: "Berlioz\\QueueManager\\Queue\\DbQueue",
          name: [
            "default",
            "high",
            "low"
          ],
          db: {
            dsn: "mysql:dbname=mydb;host=localhost",
            username: "myUsername",
            password: "mySuperPassword"
          }
        },
        // Case where you need to use same connection as Hector Package
        {
          type: "Berlioz\\QueueManager\\Queue\\DbQueue",
          name: [
            "default",
            "high",
            "low"
          ],
          db: {
            dsn: "{config: hector.dsn}",
            username: "{config: hector.username}",
            password: "{config: hector.password}"
          }
        }
      ],
      handlers: {
        "jobname": "MyProject\\Job\\MyJobNameHandler"
      },
      factories: [
        ""
      ]
    }
  }
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-25