PHPackages                             bybzmt/phpim - 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. bybzmt/phpim

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

bybzmt/phpim
============

php mini im server

v1.0.0(9y ago)526Apache-2.0GoPHP &gt;=5.3.0

Since Sep 8Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

phpim
=====

[](#phpim)

这是一个迷你的im服务端。

服务端由go语言编写

附带一个php的api

这是一个最小做的im，服务端只会在有新连接，有新消息，有连接断开时 通过回调接口通知php，然后由php执行接下去的动作，go服务端本身不会 有动作。

api支持的动作包括

- 单播发送消息
- 连接加入房间
- 连接离开房间
- 房间广播消息
- 全服广播消息

phpclient
---------

[](#phpclient)

这是php的客户端程序。 可以看demo.php里的代码。

composer安装 composer require "bybzmt/phpim"

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

3536d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/031f01c8296715e38460200b8706ce7a24808fdaacc2400a8e0075ddbd630670?d=identicon)[bybzmt](/maintainers/bybzmt)

---

Top Contributors

[![bybzmt](https://avatars.githubusercontent.com/u/1188099?v=4)](https://github.com/bybzmt "bybzmt (10 commits)")

---

Tags

websocketimcallback im

### Embed Badge

![Health badge](/badges/bybzmt-phpim/health.svg)

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

###  Alternatives

[cboden/ratchet

PHP WebSocket library

6.4k21.4M239](/packages/cboden-ratchet)[swow/swow

Coroutine-based multi-platform support engine with a focus on concurrent I/O

1.3k2.1M84](/packages/swow-swow)[ratchet/pawl

Asynchronous WebSocket client

6148.9M214](/packages/ratchet-pawl)[ratchet/rfc6455

RFC6455 WebSocket protocol handler

23433.7M69](/packages/ratchet-rfc6455)[wrench/wrench

PHP WebSocket client/server library

5903.1M11](/packages/wrench-wrench)[gos/web-socket-bundle

Symfony Web Socket Bundle

6202.2M8](/packages/gos-web-socket-bundle)

PHPackages © 2026

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