mizmoz / queue
Mizmoz Queue Library
0.1.1
2018-03-29 10:11 UTC
Requires
- php: >=7.1
- mizmoz/container: ^1.3
- symfony/process: ^3.3
Requires (Dev)
- mockery/mockery: ^0.9.9
- pda/pheanstalk: ^3.1
- phpunit/phpunit: ^6.2
- symfony/console: ^3.3
Suggests
- mizmoz/app: Required for app registration
- pda/pheanstalk: Required when using Beanstalkd Queue
- symfony/console: Required for running the queue listener command
- symfony/process: Required for running the queue listener command
This package is not auto-updated.
Last update: 2024-04-05 23:29:20 UTC
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.