# PHPSocketsChatroom **Repository Path**: power1979/PHPSocketsChatroom ## Basic Information - **Project Name**: PHPSocketsChatroom - **Description**: 基于原生的php sockets函数实现的websocket简易聊天室 - **Primary Language**: PHP - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-12-29 - **Last Updated**: 2021-01-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PHPSocketsChatroom #### 介绍 基于原生的php sockets函数实现的websocket简易聊天室 ### 下载 ``` git clone https://gitee.com/luohuaqingwu/PHPSocketsChatroom.git ``` ### 运行 最好PHP7以上环境,需要开启sockets扩展 分服务器端和客户端 客户端就是我们的聊天页面在/client/index.html 直接浏览器打开即可 服务端是/server/server.php 需要在控制台下运行命令 ``` php server.php ``` 即可