PHPackages                             panda-zhy/msg - 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. panda-zhy/msg

ActiveLibrary

panda-zhy/msg
=============

This is a public chat extension package

1.0.0(2y ago)131MITPHPPHP &gt;=8.0

Since Sep 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/PandaApply/panda-msg)[ Packagist](https://packagist.org/packages/panda-zhy/msg)[ RSS](/packages/panda-zhy-msg/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Panda消息扩展
=========

[](#panda消息扩展)

[![img.png](image/img.png)](image/img.png)

`使用workerman进一步封装，单向推送给客户端，服务端代码可自由发挥实现,该扩展只实现单向通知客户端`

使用方式
----

[](#使用方式)

1. `composer require panda-zhy/msg`
2. `php think panda:create 该命令操作会自动创建workerman启动文件以及生成gateway进程启动脚本、businessWorker进程启动脚本、注册服务启动脚本`

消息类型
====

[](#消息类型)

> `用不用都行随自己，可以自己定义类型,参数格式不可边其他随意`

```
{
  "type": "ping",
  "data": [],
  "msg": "心跳检测",
  "time": 1695029183
}
```

类型译文详细参数参数说明ping心跳检测无无system系统通知\[自定义二级消息类型\] 例如:\["type":"system\_friend\_apply'","data":\["自定义参数":"自定义参数"\],"msg":"xxx申请加你好友"\]例如: 站内通知、订单通知、好友通知等chat聊天通知\[自定义二级消息类型\] 例如:\["type":"image","data":\["自定义参数":"自定义参数"\],"msg":"xxx发来一张图片"\]聊天框内的通知chatPrompt聊天提示\[自定义二级消息类型\] 例如:\["type":"reservation","data":\["自定义参数":"自定义参数"\],"msg":"xxx向你发起了预约"\]聊天框内的提示

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

976d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/panda-zhy-msg/health.svg)

```
[![Health](https://phpackages.com/badges/panda-zhy-msg/health.svg)](https://phpackages.com/packages/panda-zhy-msg)
```

###  Alternatives

[zoujingli/think-library

Library for ThinkAdmin

8569.8k18](/packages/zoujingli-think-library)

PHPackages © 2026

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