PHPackages                             scienta/php-rsmq-client - 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. [Caching](/categories/caching)
4. /
5. scienta/php-rsmq-client

ActiveLibrary[Caching](/categories/caching)

scienta/php-rsmq-client
=======================

A client to publish messages to RSMQ, a nodejs message queue.

1.0.1(5y ago)635.9k1MITPHPPHP ^7.1 || ^8.0CI failing

Since Oct 2Pushed 5y ago4 watchersCompare

[ Source](https://github.com/ScientaNL/php-rsmq-client)[ Packagist](https://packagist.org/packages/scienta/php-rsmq-client)[ RSS](/packages/scienta-php-rsmq-client/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/ac5b16bf7b4bf3cdb6f226e6c5a98af2a5cfe1d687546fab4baf147935052907/68747470733a2f2f706f7365722e707567782e6f72672f736369656e74612f7068702d72736d712d636c69656e742f762f737461626c653f666f726d61743d666c6174)](https://packagist.org/packages/scienta/php-rsmq-client)[![Total Downloads](https://camo.githubusercontent.com/4d9ea21fff3889b80d5e2b514b67cf00339952d6a16be7b18741cf35a983fa2b/68747470733a2f2f706f7365722e707567782e6f72672f7379736c6f6769632f7068702d72736d712d636c69656e742f646f776e6c6f6164733f666f726d61743d666c6174)](https://packagist.org/packages/syslogic/php-rsmq-client/stats)[![License](https://camo.githubusercontent.com/3460a8b47403ba11936826409fb3d5901cd70c2710348b29457fbca5d51e9315/68747470733a2f2f706f7365722e707567782e6f72672f736369656e74612f7068702d72736d712d636c69656e742f6c6963656e7365)](https://packagist.org/packages/scienta/php-rsmq-client)

php-rsmq-client
===============

[](#php-rsmq-client)

A library for queueing [RSMQ](https://www.npmjs.com/package/rsmq) messages in [Redis](https://redis.io/).

### TL;DR

[](#tldr)

A php implementation of the enqueue-code from [RSMQ](https://www.npmjs.com/package/rsmq) for adding messages to the queue. Supports [realtime](https://www.npmjs.com/package/rsmq#realtime) PUBLISH of new messages.

Installation
------------

[](#installation)

The recommended way to install php-rsmq-client is through [Composer](https://getcomposer.org/). Add the following dependency to your composer.json

```
{
	"require": {
		"scienta/php-rsmq-client": "~1.0"
	}
}
```

Alternatively, you can download the [source code as a file](https://github.com/ScientaNL/php-rsqm-client/releases) and extract it.

Usage
-----

[](#usage)

Configuration for queues and messages can be more elaborate than specified below, all [RSMQ](https://www.npmjs.com/package/rsmq) options are supported. The library makes use of a Redis adapter make the usage of other php redis clients possible. Default (used in this example) is the [phpredis](https://github.com/phpredis/phpredis) C extension.

### Creating a basic queue

[](#creating-a-basic-queue)

```
use Scienta\RSMQClient\Config;
use Scienta\RSMQClient\Message;
use Scienta\RSMQClient\Queue;
use Scienta\RSMQClient\Redis\RedisAdapter;

//Create a redis connection
$redis = new \Redis();
$redis->connect('127.0.0.1', '6379');

//Configure and create/sync a queue
$config = new Config('myqueue');
$redisAdapter = new RedisAdapter($redis);
$queue = new Queue($config, $redisAdapter);

//Create a message
$message = new Message('Hello World');

//Send the message
$sentId = $queue->sendMessage($message);
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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.

###  Release Activity

Cadence

Every ~426 days

Total

2

Last Release

1991d ago

PHP version history (2 changes)1.0.0PHP ^7.1

1.0.1PHP ^7.1 || ^8.0

### Community

Maintainers

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

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

---

Top Contributors

[![Hikariii](https://avatars.githubusercontent.com/u/1484903?v=4)](https://github.com/Hikariii "Hikariii (6 commits)")[![HarmenM](https://avatars.githubusercontent.com/u/2419043?v=4)](https://github.com/HarmenM "HarmenM (1 commits)")

---

Tags

message-queuephpredisrsmqredisqueuemessage queuersmq

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/scienta-php-rsmq-client/health.svg)

```
[![Health](https://phpackages.com/badges/scienta-php-rsmq-client/health.svg)](https://phpackages.com/packages/scienta-php-rsmq-client)
```

###  Alternatives

[mjphaynes/php-resque

Redis backed library for creating background jobs and processing them later.

228199.3k2](/packages/mjphaynes-php-resque)[enqueue/redis

Message Queue Redis Transport

405.5M25](/packages/enqueue-redis)[javibravo/simpleue

Php package to manage queue tasks in a simple way

130332.1k1](/packages/javibravo-simpleue)[resquebundle/resque

A Symfony 4 bundle to manage Resque job queues

51137.1k1](/packages/resquebundle-resque)[spinx/sidekiq-job-php

Push and schedule jobs to Sidekiq from PHP

37219.6k](/packages/spinx-sidekiq-job-php)[pdffiller/qless-php

PHP Bindings for qless

29113.2k1](/packages/pdffiller-qless-php)

PHPackages © 2026

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