PHPackages                             moee/bushtaxi - 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. moee/bushtaxi

ActiveLibrary

moee/bushtaxi
=============

ZeroMQ connection manager for PHP (alpha)

0.0.1-alpha(9y ago)041MITPHPPHP &gt;=7.0

Since Nov 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/moee/bushtaxi)[ Packagist](https://packagist.org/packages/moee/bushtaxi)[ RSS](/packages/moee-bushtaxi/feed)WikiDiscussions master Synced 2mo ago

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

Bushtaxi
========

[](#bushtaxi)

Bushtaxi aims at making your life with ZeroMQ easier. It establishes connections and bindings based on simple configurations.

Usage
-----

[](#usage)

### Client

[](#client)

A basic configuration for a req socket looks like this:

```
$config = [
  "service" => [ "name" => "client" ],
  "links" => [
    "server" => [
      "type" => "req",
      "connect" => "tcp://10.0.0.100:5000"
    ]
  ]
];

```

With this config you now can easily send a message to the socket specified in the config.

```
$bushtaxi = new Bushtaxi\Client($config);
$bushtaxi->server->send('Hello World');

```

### Server

[](#server)

Binding sockets and running servers is as easy. First create a config.

```
$config = [
  "service" => [ "name" => "server" ],
  "links" => [
    "client" => [
	  "type" => "rep",
      "bind" => "tcp://10.0.0.100:5000
    ]
  ]
];

```

In addition to the config you also need to specify a [server runtime class](./src/Bushtaxi/ServerRuntime.php). This runtime class determines what happens in every loop.

```
$runtime = new class extends Bushtaxi\AbstractServerRuntime {
    function handle($links) {
		$message = $links['client']->recv();
		$links['client']->send("World");
    }
};

```

And we are good to go:

```
$bushtaxi = new Bushtaxi\Server($config, $runtime);
$bushtaxi->run();

```

You can find this example in [the examples directory](./examples).

Run tests
---------

[](#run-tests)

```
cd bushtaxi
for f in $(find tests/*.yml); do docker-compose -f $f up; done

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3457d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/moee-bushtaxi/health.svg)

```
[![Health](https://phpackages.com/badges/moee-bushtaxi/health.svg)](https://phpackages.com/packages/moee-bushtaxi)
```

PHPackages © 2026

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