PHPackages                             geevcookie/zeromq-php-helpers - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. geevcookie/zeromq-php-helpers

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

geevcookie/zeromq-php-helpers
=============================

Some helper classes to make it easier to work with ZeroMQ.

16.5k1PHP

Since Aug 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/geevcookie/zeromq-php-helpers)[ Packagist](https://packagist.org/packages/geevcookie/zeromq-php-helpers)[ RSS](/packages/geevcookie-zeromq-php-helpers/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

ZeroMQ PHP Helpers
==================

[](#zeromq-php-helpers)

A couple of helper classes to make it easier to work with ZeroMQ.

Notice
------

[](#notice)

This is still in the very early stages of development. Use at own risk.

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

[](#installation)

Add the following to your composer.json:

```
{
    "require-dev": {
        "geevcookie/zeromq-php-helpers": "dev-master"
    }
}
```

Then run `composer install --dev` or `composer update --dev`.

Usage
-----

[](#usage)

Check the examples folder. Each of the files has to be run from the command line e.g:

```
php examples/RequestReply/Broker.php
```

Examples
--------

[](#examples)

Below you will find quick breakdowns of the available examples:

### RequestReply

[](#requestreply)

This example shows how you can have one broker managing the messages between multiple clients and multiple workers. The worker and the broker constantly send "heartbeat" messages between each other to ensure that the connection is still alive. When the client sends a message the broker receives it, finds the next worker, sends the message to the worker, receives the reply from the worker, and then sends it back to the original client. The client itself also has retry and timeout limits.

To see the example in action run the following commands:

```
// First start the broker.
php examples/RequestReply/Broker.php

// Then start a worker or 2 or 3.
php examples/RequestReply/Worker.php

// Then run a client to see how the broker and the workers react.
php examples/RequestReply/Client.php
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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/102afe5e08c0ce18a72408429e406202f621b587c9c93530831bc8f30a251ba1?d=identicon)[geevcookie](/maintainers/geevcookie)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/geevcookie-zeromq-php-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/geevcookie-zeromq-php-helpers/health.svg)](https://phpackages.com/packages/geevcookie-zeromq-php-helpers)
```

###  Alternatives

[simple-updates/phpwhois

This package contains a Whois (RFC954) library for PHP. It allows a PHP program to create a Whois object, and obtain the output of a whois query with the Lookup function.

251.4k](/packages/simple-updates-phpwhois)

PHPackages © 2026

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