mizmoz / queue
Mizmoz Queue Library
Installs: 96
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mizmoz/queue
Requires
- php: >=8.3
- ext-pcntl: *
- mizmoz/container: ^2.0
- symfony/console: ^7.0
- symfony/process: ^7.0
Requires (Dev)
- mizmoz/app: ^1.0
- mockery/mockery: ^1.6
- pda/pheanstalk: ^5.0
- phpstan/phpstan: ^1.12
- phpunit/phpunit: ^11.0
Suggests
- mizmoz/app: Required for app registration
- pda/pheanstalk: Required when using Beanstalkd Queue
README
A simple queue manager, still in early development so expect lots of changes to the core API, heartbreak likely.
Requirements
PHP 7.1 or newer.
Installation
# composer require mizmoz/queue
If you're using Beanstalkd you'll need the Pheanstalkd library
# composer require pda/pheanstalk
Adapters
Beanstalkd
Beanstalkd queue using the Pheanstalkd library
Memory
In memory queue with SplQueue
Direct
This isn't a queue and will execute anything passed to it immediately.
Usage
See the tests directory for usage. This will be updated as we get nearer a stable release product.