PHPackages                             hsk99/webman-push - 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. hsk99/webman-push

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

hsk99/webman-push
=================

v1.0.9(3y ago)61992MITPHP

Since Jan 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hsk99/webman-push)[ Packagist](https://packagist.org/packages/hsk99/webman-push)[ Docs](http://hsk99.com.cn)[ RSS](/packages/hsk99-webman-push/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (9)Dependencies (3)Versions (10)Used By (0)

webman push 插件（多进程）
===================

[](#webman-push-插件多进程)

简介
--

[](#简介)

> [hsk99/webman-push](https://github.com/hsk99/webman-push "hsk99/webman-push") 继承于 [webman/push](https://github.com/webman-php/push "webman/push") 开发，在原有功能基础上添加了多协议合并、多进程运行。

> Push Server 多进程使用 [webman/channel](https://github.com/webman-php/channel "webman/channel") 实现 API 推送内部数据分发 和 多Worker订阅数据整合响应

安装
--

[](#安装)

`composer require hsk99/webman-push`

使用
--

[](#使用)

> 引入javascript客户端

` `

> 客户端使用(公有频道)

```
// 建立连接
var connection = new Push({
    url: 'ws://127.0.0.1:8803', // Push服务地址
    app_key: '',
    auth: '/plugin/hsk99/push/auth' // 订阅鉴权(仅限于私有频道)
});

// 假设用户uid为1
var uid = 1;
// 浏览器监听user-1频道的消息，也就是用户uid为1的用户消息
var user_channel = connection.subscribe('user-' + uid);

// 当user-1频道有message事件的消息时
user_channel.on('message', function(data) {
    // data里是消息内容
    console.log(data);
});

```

> 详细使用请查看：

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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

Every ~40 days

Recently: every ~67 days

Total

9

Last Release

1303d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6bbea2ea0f86c0bb2bc54d2e80f97cd023fb17493b0b4d1944a5e99e8e87a708?d=identicon)[hsk99](/maintainers/hsk99)

---

Top Contributors

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

---

Tags

pushwebsocket

### Embed Badge

![Health badge](/badges/hsk99-webman-push/health.svg)

```
[![Health](https://phpackages.com/badges/hsk99-webman-push/health.svg)](https://phpackages.com/packages/hsk99-webman-push)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

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

87965.9k114](/packages/httpsoft-http-message)[saithink/saiadmin

webman plugin

28211.5k1](/packages/saithink-saiadmin)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)

PHPackages © 2026

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