Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/walkor/workerman-chat
Websocket chat room written in PHP based on workerman.
https://github.com/walkor/workerman-chat
chat chatroom websocket
Last synced: 6 days ago
JSON representation
Websocket chat room written in PHP based on workerman.
- Host: GitHub
- URL: https://github.com/walkor/workerman-chat
- Owner: walkor
- License: mit
- Created: 2014-03-07T06:36:47.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-08-12T12:33:28.000Z (over 1 year ago)
- Last Synced: 2024-10-29T11:12:13.456Z (3 months ago)
- Topics: chat, chatroom, websocket
- Language: PHP
- Homepage: http://chat.workerman.net/
- Size: 1.84 MB
- Stars: 1,191
- Watchers: 70
- Forks: 600
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
workerman-chat
=======
基于workerman的GatewayWorker框架开发的一款高性能支持分布式部署的聊天室系统。GatewayWorker框架文档:http://www.workerman.net/gatewaydoc/
特性
======
* 使用websocket协议
* 多浏览器支持(浏览器支持html5或者flash任意一种即可)
* 多房间支持
* 私聊支持
* 掉线自动重连
* 微博图片自动解析
* 聊天内容支持微博表情
* 支持多服务器部署
* 业务逻辑全部在一个文件中,快速入门可以参考这个文件[Applications/Chat/Event.php](https://github.com/walkor/workerman-chat/blob/master/Applications/Chat/Event.php)
下载安装
=====
1、git clone https://github.com/walkor/workerman-chat2、composer install
启动停止(Linux系统)
=====
以debug方式启动
```php start.php start ```以daemon方式启动
```php start.php start -d ```启动(windows系统)
======
双击start_for_win.bat注意:
windows系统下无法使用 stop reload status 等命令
如果无法打开页面请尝试关闭服务器防火墙测试
=======
浏览器访问 http://服务器ip或域:55151,例如http://127.0.0.1:55151[更多请访问www.workerman.net](http://www.workerman.net/workerman-chat)