Skip to content
PHP + Swoole 实现的简单聊天室
PHP
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config remove the user offline May 5, 2017
public optimization May 5, 2017
src optimization May 5, 2017
.gitattributes optimization May 5, 2017
.gitignore first commit May 4, 2017
composer.json remove the user offline May 5, 2017
composer.lock first commit May 4, 2017
readme.md Readme.md file modification May 8, 2017
webim_server.php first commit May 4, 2017

readme.md

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.git
composer install

启动 websockt

cd ./webim
php webim_server.php

启动 PHP 内置服务器

cd ./public
php -S localhost:8000

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

截图

webim

License

MIT

You can’t perform that action at this time.