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. [HTTP &amp; Networking](/categories/http)
4. /
5. moee/bushtaxi

ActiveLibrary[HTTP &amp; Networking](/categories/http)

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 4w 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 18% 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

3505d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/422547?v=4)[moee](/maintainers/moee)[@moee](https://github.com/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)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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