PHPackages                             moell/webim - 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. moell/webim

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

moell/webim
===========

18548852PHP

Since May 30Pushed 3y ago7 watchersCompare

[ Source](https://github.com/moell-peng/webim)[ Packagist](https://packagist.org/packages/moell/webim)[ RSS](/packages/moell-webim/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

moell/webim
-----------

[](#moellwebim)

PHP + Swoole 开发的简单聊天室demo, 主要是 websockt 的应用, 如果对你学习Swoole有帮助,欢迎 star 。

环境要求
----

[](#环境要求)

- PHP &gt;= 7.0
- Swoole
- composer

安装
--

[](#安装)

```
composer create-project -s dev moell/webim

```

or

```
git clone https://github.com/moell-peng/webim.git
composer install

```

启动 websockt
-----------

[](#启动-websockt)

```
cd ./webim
php webim_server.php

```

启动 PHP 内置服务器
------------

[](#启动-php-内置服务器)

```
cd ./public
php -S localhost:8000

```

浏览器访问 localhost:8000 即可进入聊天

截图
--

[](#截图)

[![webim](https://camo.githubusercontent.com/9bc1fa22cfff901db42158cd6f7684fc5110c4aef6455d4040c04345bdc5adff/687474703a2f2f6d6f656c6c2e636e2f75706c6f6164732f776562696d2f73686f772e706e67 "webim")](https://camo.githubusercontent.com/9bc1fa22cfff901db42158cd6f7684fc5110c4aef6455d4040c04345bdc5adff/687474703a2f2f6d6f656c6c2e636e2f75706c6f6164732f776562696d2f73686f772e706e67)

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/88bfbfdaec59d69edbb1697433f130ab2a5a66ae8897a63027a3d2ca396774d5?d=identicon)[moell](/maintainers/moell)

---

Top Contributors

[![moell-peng](https://avatars.githubusercontent.com/u/12830061?v=4)](https://github.com/moell-peng "moell-peng (5 commits)")

---

Tags

php7swooleswoole-websocketwebsocket

### Embed Badge

![Health badge](/badges/moell-webim/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

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

The Illuminate Http package.

11937.9M6.7k](/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)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M87](/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

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

PHPackages © 2026

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