2017 © Pedro Peláez
 

library plumber

A PHP Message Queue Worker.

image

codeages/plumber

A PHP Message Queue Worker.

  • Wednesday, September 27, 2017
  • by Wellming
  • Repository
  • 3 Watchers
  • 15 Stars
  • 3,443 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 21 Versions
  • 8 % Grown

The README.md

Plumber

消息队列的Worker守护进程,目前支持beanstalkd。, (*1)

运行环境

  • PHP >= 5.4.1
  • Swoole >= 1.7.18
  • Linux / Mac OSX

安装

composer require codeages/plumber

使用

Plumber 0.6.0

Usage:
  bin/plumber (run|start|restart|stop)  [--bootstrap=<file>]

Options:
  -h|--help    show this
  -b <file> --bootstrap=<file>  Load configuration file [default: plumber.php]

启动

bin/plumber start -b bootstrap-file-path   # `bootstrap-file-path`为启动配置文件路径

重启

bin/plumber restart -b bootstrap-file-path

停止

bin/plumber stop -b bootstrap-file-path

Bootstrap启动配置文件说明

Bootstrap启动配置文件,必须返回Pimple\Container类型的配置对象,情参考example/bootstrap.php文件。, (*2)

Worker的写法

请参考example/Example1Worker.php。, (*3)

Worker执行的返回值

请参考src/IWorker.php。, (*4)

Docker

启动

docker-compose up

Example Put Message

docker exec YOUR_CONTAINER_ID php example/put_message.php

Changelog

See CHANGELOG.md., (*5)

License

MIT., (*6)

The Versions

27/09 2017

dev-master

9999999-dev https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

The Development Requires

beanstalk swoole message queue plumber

27/09 2017
08/09 2017

v0.8.4

0.8.4.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

The Development Requires

beanstalk swoole message queue plumber

04/09 2017

v0.8.3

0.8.3.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

The Development Requires

beanstalk swoole message queue plumber

28/08 2017

v0.8.2

0.8.2.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

The Development Requires

beanstalk swoole message queue plumber

15/08 2017

v0.8.1

0.8.1.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

The Development Requires

beanstalk swoole message queue plumber

12/08 2017

0.8.0

0.8.0.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

The Development Requires

beanstalk swoole message queue plumber

12/08 2017

v0.7.5

0.7.5.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

The Development Requires

beanstalk swoole message queue plumber

08/08 2017

v0.7.4

0.7.4.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

The Development Requires

beanstalk swoole message queue plumber

07/08 2017

v0.7.3

0.7.3.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

The Development Requires

beanstalk swoole message queue plumber

02/08 2017

v0.7.2

0.7.2.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

The Development Requires

beanstalk swoole message queue plumber

08/02 2017

v0.7.1

0.7.1.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

beanstalk swoole message queue plumber

03/02 2017

v0.7.0

0.7.0.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

beanstalk swoole message queue plumber

03/02 2017

dev-labs/refactor

dev-labs/refactor https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

beanstalk swoole message queue plumber

19/01 2017

v0.6.1

0.6.1.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

beanstalk swoole message queue plumber

18/01 2017

v0.6.0

0.6.0.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

beanstalk swoole message queue plumber

27/12 2016

v0.5.4

0.5.4.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

beanstalk swoole message queue plumber

25/07 2016

v0.5.3

0.5.3.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

beanstalk swoole message queue plumber

25/07 2016

v0.5.2

0.5.2.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

beanstalk swoole message queue plumber

23/07 2016

v0.5.1

0.5.1.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

beanstalk swoole message queue plumber

21/07 2016

v0.5.0

0.5.0.0 https://github.com/codeages/plumber

A PHP Message Queue Worker.

  Sources   Download

MIT

The Requires

 

beanstalk swoole message queue plumber