moell/webim
PHP + Swoole 开发的简单聊天室 demo, 主要是 websockt 的应用, 如果对你学习Swoole有帮助,欢迎 start 。
项目地址
环境要求
PHP >= 7.0
Swoole
Composer
安装
composer create-project -s dev moell/webim
or
git clone https://github.com/moell-peng/webim.gitcomposer install
启动 websockt
cd ./webimphp webim_server.php
启动 PHP 内置服务器
cd ./publicphp -S localhost:8000
浏览器访问 localhost:8000 即可进入聊天
截图
License
MIT