rezets19/beanstalk-bus

There is no license information available for the latest version (0.8.1) of this package.

0.8.1 2025-04-15 05:13 UTC

This package is auto-updated.

Last update: 2025-04-18 09:44:13 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

bin/worker.service

Systemd documentation: https://jolicode.com/blog/symfony-messenger-systemd or

man systemd