rpq / server
Redis Priority Queue Server implementation in pure PHP
Installs: 1 567
Dependents: 1
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 2
Open Issues: 0
Requires
- php: ^7.1
- ext-pcntl: *
- ext-redis: ^3.1.2 || ^4.0.2
- amphp/amp: ^2.0
- amphp/process: ^v0.3
- monolog/monolog: ^1.23
- rpq/client: ^0.1.2
- symfony/console: ^4.0
- symfony/process: ^4.1
- symfony/yaml: ^4.1
This package is auto-updated.
Last update: 2024-11-09 14:01:19 UTC
README
RPQ is a simple, efficient, prioritized background job queue for PHP.
RPQ is a background processor for PHP, written in pure PHP. RPQ enables your application to asynchronously execute background tasks into a priority queue stored in Redis. Jobs can be prioritized, allowing for more important jobs to run first. RPQ uses multi-processing to handle multiple jobs at the same time. It exposes a simple API to create job handlers.
Note that this project is very much in the Alpha quality stage. There are bugs, and things may not be working correctly.
Requirements
RPQ supports PHP 7.1+, and requires Redis 3.0.3+, and pcntl.
Amp\Process\Process is not compatible Windows.
Installation
RPQ can be added to your project via composer.
composer require rpq/server
For information about how to create jobs, and schedule tasks take a look at the Getting Started Guide. The docs directory also contains more information on specific aspects of RPQ. The examples directory also contains a few job worker examples which you can use as reference.
License
RPQ is licensed under the BSD 3-Clause license. See LICENSE for more details.