PHPackages                             xinyujian/wchat - 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. xinyujian/wchat

ActiveLibrary

xinyujian/wchat
===============

test

00PHP

Since Jan 13Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

 wchat
=======

[](#-wchat-)

 test.

安装
--

[](#安装)

```
$ composer require xinyujian/wchat -vvv
```

需要安装predis
----------

[](#需要安装predis)

```
$ composer require predis/predis
```

安装 laravel-echo-server
----------------------

[](#安装-laravel-echo-server)

```
$ npm install -g laravel-echo-server
```

切换到项目根目录下，初始化 Socket
--------------------

[](#切换到项目根目录下初始化-socket)

```
$ laravel-echo-server init

$ laravel-echo-server start
```

配置 Laravel 使 Laravel Echo Server 正常工作
-------------------------------------

[](#配置-laravel-使-laravel-echo-server-正常工作)

打开你的 config/app.php 文件并且取消 BroadcastServiceProvider 在这个 Providers 数组中的注释：

```
App\Providers\BroadcastServiceProvider::class,
```

这个 Provider 将会启动广播路由（你或许已经在 routes/channels.php 文件里面已经看到了）

打开 .env 文件，修改 BROADCAST\_DRIVER 的值为你在 laravel-echo-server 初始化时定义的值（Redis 或者 Log）。在本教程中我们将使用 Redis 驱动程序。 同时修改 QUEUE\_DRIVER 为你喜欢的任何队列驱动程序，在这个示例中你可以轻松的将其更改为 Redis 驱动程序，因为你在前面已经安装并且在运行了。

Usage
-----

[](#usage)

TODO

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/xinyujian/wchat/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/xinyujian/wchat/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

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://avatars.githubusercontent.com/u/2107835?v=4)[LIU Zhipeng](/maintainers/Liuzhipeng)[@liuzhipeng](https://github.com/liuzhipeng)

---

Top Contributors

[![18337111257](https://avatars.githubusercontent.com/u/25546087?v=4)](https://github.com/18337111257 "18337111257 (2 commits)")

### Embed Badge

![Health badge](/badges/xinyujian-wchat/health.svg)

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

PHPackages © 2026

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