rezets19 / beanstalk-bus
There is no license information available for the latest version (0.6.2) of this package.
0.6.2
2023-11-18 15:37 UTC
Requires
- php: ^8.0
- json-mapper/json-mapper: ^2.20
- pda/pheanstalk: ^5.0
- psr/event-dispatcher: ^1.0
- queue-interop/queue-interop: ^0.8.1
Requires (Dev)
- phpunit/phpunit: ^10.4
- zoltanka/bypass-readonly: ^0.0.4
This package is auto-updated.
Last update: 2024-04-27 07:11:04 UTC
README
Frameworks independent message bus php 8.x library for beanstalkd.
Beanstalkd is a zero management message broker, work queue.
Install
composer require rezets19/beanstalk-bus
Create event and handler
Examples:
- Event: src/impl/TEvent.php
- Handler: src/impl/TEventHandler.php
Start listener
php bin/listen.php -h 127.0.0.1 -p 11300 -q test -t /tmp/bus -f src/impl/config.php
Rise event
php bin/rise_event.php -h 127.0.0.1 -p 11300 -f src/impl/config.php