rezets19 / beanstalk-bus
There is no license information available for the latest version (0.9.0) of this package.
0.9.0
2025-04-18 11:41 UTC
Requires
- php: ^8.0
- json-mapper/json-mapper: ^2.20
- pda/pheanstalk: ^5.0
- programster/log: ^2.0
- psr/event-dispatcher: ^1.0
- queue-interop/queue-interop: ^0.8.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.66
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^10.4
- zoltanka/bypass-readonly: ^0.0.4
This package is auto-updated.
Last update: 2025-04-18 11:42:59 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 -f src/impl/config.php
Rise event
php bin/rise_event.php -h 127.0.0.1 -p 11300 -f src/impl/config.php
Laravel package
https://github.com/rezets19/laravel-beanstalk-bus
Systemd worker
Systemd config, change paths before copy.
copy bin/worker.service.dist /etc/systemd/system/worker.service
Systemd documentation: https://jolicode.com/blog/symfony-messenger-systemd or
man systemd