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

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

Laravel package

https://github.com/rezets19/laravel-beanstalk-bus