Download the PHP package ilzrv/php-bull-queue without Composer
On this page you can find all versions of the php package ilzrv/php-bull-queue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-bull-queue
PHP Bull Queue
At the moment this library provides the ability to add jobs to the Bull Queue.
Requirements
- PHP 7.4+
- PhpRedis (default) or Predis
- ramsey/uuid
Installation
You can install the package via composer:
Usage
To add a job to the queue, you can use the following example:
If you want to use predis
as Redis client (example configuration):
Configurations
All is configured via classes:
Ilzrv\PhpBullQueue\DTOs\RedisConfig
Ilzrv\PhpBullQueue\DTOs\QueueOpts
Ilzrv\PhpBullQueue\DTOs\JobOpts
RedisConfig
client
(string) Redis client. Can bephpredis
orpredis
. Default:phpredis
host
(string) Redis host. Default:127.0.0.1
port
(int) Redis port. Default:6379
password
(string) Redis password. Default:''
QueueOpts
redis
(RedisConfig Object) Redis Configuration.prefix
(string) Queue prefix. Default:bull
JobOpts
customJobId
(string) Custom JobId. Default:0
priority
(int) Job priority. Default:0
lifo
(bool) Last In, First Out. Default:false
attempts
(int) Job attempts. Default:1
timestamp
(int) Current timestamp.delay
(int) Job delay. Default:0
License
The MIT License (MIT). Please see License File for more information.
All versions of php-bull-queue with dependencies
PHP Build Version
Package Version
The package ilzrv/php-bull-queue contains the following files
Loading the files please wait ....