PHPackages                             yoozoo/protomq - 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. yoozoo/protomq

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

yoozoo/protomq
==============

55Go

Since Apr 18Pushed 7y ago2 watchersCompare

[ Source](https://github.com/yoozoo/protomq)[ Packagist](https://packagist.org/packages/yoozoo/protomq)[ RSS](/packages/yoozoo-protomq/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

protomq
=======

[](#protomq)

[![Build Status](https://camo.githubusercontent.com/199113f37ddd6cb8b67352df45d29972694262c633e4b5755b2127128fb29948/68747470733a2f2f7472617669732d63692e6f72672f796f6f7a6f6f2f70726f746f6d712e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yoozoo/protomq)

初始化
---

[](#初始化)

```
go get  github.com/yoozoo/protomq
protomq init
```

### php

[](#php)

php项目需要先使用composer安装依赖

```
composer require google/protobuf
composer require spiral/roadrunner
```

-

### go

[](#go)

```
go get github.com/spiral/roadrunner
go get -u github.com/golang/protobuf/protoc-gen-go
```

使用范例
----

[](#使用范例)

生成`go 生产者客户端`

```
./protomq.exe gen --lang=goproducer ./output_folder ./test.proto
```

生成`go 消费者服务器端`

```
./protomq.exe gen --lang=goconsumer ./output_folder ./test.proto
```

生成`php 消费者服务器端`详情在[这里](docs/php_consumer_zh.md)。另外`php 消费者简单类型服务器端`的文档在这里[这里](docs/php_consumer_simpletype_zh.md)。

生成`php 生产者客户端`详情在[这里](docs/php_producer_zh.md)。

TODO
----

[](#todo)

- `protomq` cli
    - 自动下载`protoc`
    - 内嵌`protomq.proto`
    - 嵌套调用`protoc`
    - protoc文件语法检查、错误提示
        - topic缺失、重复
        - proto namespace检查
        - language namespace检查
    - CI
    - 消息大小限制、检查
    - 统计整合
    - example / guide
- 集成Prometheus
- kafka
    - 自动控制partition？
- php
    - client / producer
    - handler
    - 支持7.X
    - 能否支持 5.x？()
    - 使用context传递key？
    - go并发？
    - 控制回收？
- go
    - worker pool
- 测试
    - 大量fetch，但不commit
    - 多个group
    - 乱序commit:

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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/71570c00814bf054a14142a05b15fdf8bfdb4c18115cecd4c2d7a60bf67e00a7?d=identicon)[CBike1103](/maintainers/CBike1103)

---

Top Contributors

[![Wuvist](https://avatars.githubusercontent.com/u/657796?v=4)](https://github.com/Wuvist "Wuvist (20 commits)")[![crossfire1103](https://avatars.githubusercontent.com/u/264297965?v=4)](https://github.com/crossfire1103 "crossfire1103 (17 commits)")[![CBike1103](https://avatars.githubusercontent.com/u/9313884?v=4)](https://github.com/CBike1103 "CBike1103 (6 commits)")

### Embed Badge

![Health badge](/badges/yoozoo-protomq/health.svg)

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

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

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

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[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

2238.8M171](/packages/react-async)

PHPackages © 2026

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