PHPackages                             kcyeu/rabbitmq-worker-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. kcyeu/rabbitmq-worker-php

ActiveLibrary[Queues &amp; Workers](/categories/queues)

kcyeu/rabbitmq-worker-php
=========================

RabbitMQ worker as a daemon, which uses RedisCluster backend.

521PHP

Since Mar 30Pushed 11y ago2 watchersCompare

[ Source](https://github.com/kcyeu/rabbitmq-worker)[ Packagist](https://packagist.org/packages/kcyeu/rabbitmq-worker-php)[ RSS](/packages/kcyeu-rabbitmq-worker-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

[![RabbitMQ-Worker](https://camo.githubusercontent.com/95a8a67fa18f8b80c05fea6f41bed2883eb8156dd6c7ac42cb14e938113b6316/687474703a2f2f692e696d6775722e636f6d2f56626c434268622e706e67)](https://camo.githubusercontent.com/95a8a67fa18f8b80c05fea6f41bed2883eb8156dd6c7ac42cb14e938113b6316/687474703a2f2f692e696d6775722e636f6d2f56626c434268622e706e67)RabbitMQ-Worker
=======================================================================================================================================================================================================================================================================================================================================================================

[](#rabbitmq-worker)

> RabbitMQ-Worker as a daemon written in PHP.

RabbitMQ-Worker runs as a daemon. It consumes and digests messages from RabbitMQ then save result to RedisCluster, RedLock algorithm was adopted for distributed lock.

Table of Contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Prerequisites](#prerequisites)
- [Getting Started](#getting-started)
- [Contributing](#contributing)
- [License](#license)

Features
--------

[](#features)

- Redis as data storage
- Shared memory lock which prevents duplicate instance
- Support signal
- Configurable worker count

Prerequisites
-------------

[](#prerequisites)

- [PHP-Daemon](kcyeu/PHP-Daemon)
- [PHP-Redlock](kcyeu/php-redlock)
- [php-amqplib](videlalvaro/php-amqplib)
- (Optional) [Composer](https://getcomposer.org/download/)

Getting Started
---------------

[](#getting-started)

The easiest way to get started is to clone the repository:

```
git clone git@github.com:kcyeu/rabbitmq-worker.git
```

Then use composer to pull all dependencies:

```
composer install
```

That's it!

Usage
-----

[](#usage)

Remember to set credentials in `src/config.ini`, then add `-d` argument to run it in background:

```
php src/run.php [-d]
```

Changelog
---------

[](#changelog)

### 1.0.0 (Mar 30, 2015)

[](#100-mar-30-2015)

- Debut

Tested Environment
------------------

[](#tested-environment)

- Ubuntu 14.04.2 LTS
- CentOS 6

Contributing
------------

[](#contributing)

Pull requests are always welcome. Please open an issue before submitting a pull request.

License
-------

[](#license)

[LGPL-3.0+](https://www.gnu.org/licenses/lgpl.html)

================================================== © `2015` [Kuo-Cheng Yeu](http://lab.mikuru.tw) All rights reserved.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc98cf59074ba094a4a7d3c213c9b3702fb1b16737f2c5bbc8bd1d7c9cfabf12?d=identicon)[kcyeu](/maintainers/kcyeu)

---

Top Contributors

[![kcyeu](https://avatars.githubusercontent.com/u/7254000?v=4)](https://github.com/kcyeu "kcyeu (6 commits)")

### Embed Badge

![Health badge](/badges/kcyeu-rabbitmq-worker-php/health.svg)

```
[![Health](https://phpackages.com/badges/kcyeu-rabbitmq-worker-php/health.svg)](https://phpackages.com/packages/kcyeu-rabbitmq-worker-php)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2228.8M171](/packages/react-async)[react/promise-stream

The missing link between Promise-land and Stream-land for ReactPHP

11512.9M45](/packages/react-promise-stream)[illuminate/bus

The Illuminate Bus package.

6043.8M409](/packages/illuminate-bus)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
