berlioz / queue-manager-package
Queue Manager package for Berlioz Framework
Installs: 55
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:berlioz-package
Requires
- php: ^8.2
- berlioz/cli-core: ^2.0
- berlioz/queue-manager: ^1.0
Requires (Dev)
- aws/aws-sdk-php: ^3.316
- hectororm/query: ^1.0
- phpunit/phpunit: ^9.5
Suggests
- ext-pcntl: Tu use signals to exit worker
- aws/aws-sdk-php: To use AWS SQS service
- hectororm/query: To use database queue
This package is auto-updated.
Last update: 2024-11-28 11:50:37 UTC
README
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
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: [ "" ] } } }