Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/berliozframework/queuemanagerpackage
https://github.com/berliozframework/queuemanagerpackage
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/berliozframework/queuemanagerpackage
- Owner: BerliozFramework
- License: mit
- Created: 2024-11-22T16:01:17.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-22T16:19:35.000Z (about 1 month ago)
- Last Synced: 2024-11-22T17:25:20.475Z (about 1 month ago)
- Language: PHP
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Queue Manager package for Berlioz Framework
[![Latest Version](https://img.shields.io/packagist/v/berlioz/queue-manager-package.svg?style=flat-square)](https://github.com/BerliozFramework/QueueManagerPackage/releases)
[![Software license](https://img.shields.io/github/license/BerliozFramework/QueueManagerPackage.svg?style=flat-square)](https://github.com/BerliozFramework/QueueManagerPackage/blob/main/LICENSE)
[![Build Status](https://img.shields.io/github/actions/workflow/status/BerliozFramework/QueueManagerPackage/tests.yml?branch=main&style=flat-square)](https://github.com/BerliozFramework/QueueManagerPackage/actions/workflows/tests.yml?query=branch%3Amain)
[![Quality Grade](https://img.shields.io/codacy/grade/e5985e0b3d2d4b2bbb8ac6c0ce169100/main.svg?style=flat-square)](https://www.codacy.com/manual/BerliozFramework/QueueManagerPackage)
[![Total Downloads](https://img.shields.io/packagist/dt/berlioz/queue-manager-package.svg?style=flat-square)](https://packagist.org/packages/berlioz/queue-manager-package)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](https://getcomposer.org/), it's the recommended installation.
```bash
$ composer require berlioz/queue-manager-package
```### Dependencies
* **PHP** ^8.2
* Packages:
* **berlioz/cli-core**
* **berlioz/queue-manager**## Configuration
Default configuration:
```json5
{
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: [
""
]
}
}
}
```