Simple chat room developed by PHP + spool

Time:2021-7-23

moell/webim

PHP + spool development of a simple chat demo, mainly websockt applications, if you learn spool help, welcome to start.

Project address

https://github.com/moell-peng…

Environmental requirements

  • PHP >= 7.0

  • Swoole

  • Composer

install

composer create-project -s dev moell/webim

or

git clone https://github.com/moell-peng/webim.git
composer install

Start websockt

cd ./webim
php webim_server.php

Start PHP built-in server

cd ./public
php -S localhost:8000

The browser can enter the chat by visiting localhost: 8000

screenshot

Simple chat room developed by PHP + spool

License

MIT