天天看点

php在线聊天代码,php在线聊天源代码

【实例简介】

全套的源代码。真正的在线聊天。要运行,请仔细查看readme.txt文件。另外php环境变量要添加到path中去。亲自测试是可以运行的。喜欢的下载

【实例截图】

【核心代码】

workerman-chat

└── workerman-chat

├── Applications

│   └── Chat

│   ├── Events.php

│   ├── start_businessworker.php

│   ├── start_gateway.php

│   ├── start_register.php

│   ├── start_web.php

│   └── Web

│   ├── css

│   │   ├── bootstrap.css

│   │   ├── bootstrap.min.css

│   │   ├── bootstrap-theme.css

│   │   ├── bootstrap-theme.min.css

│   │   ├── jquery-sinaEmotion-2.1.0.css

│   │   ├── jquery-sinaEmotion-2.1.0.min.css

│   │   └── style.css

│   ├── img

│   │   └── workerman-todpole.png

│   ├── index.php

│   ├── js

│   │   ├── jquery.min.js

│   │   ├── jquery-sinaEmotion-2.1.0.js

│   │   ├── jquery-sinaEmotion-2.1.0.min.js

│   │   ├── swfobject.js

│   │   └── web_socket.js

│   └── swf

│   └── WebSocketMain.swf

├── composer.json

├── MIT-LICENSE.txt

├── README.md

├── start_for_win.bat

├── start.php

└── vendor

├── autoload.php

├── composer

│   ├── autoload_classmap.php

│   ├── autoload_namespaces.php

│   ├── autoload_psr4.php

│   ├── autoload_real.php

│   ├── autoload_static.php

│   ├── ClassLoader.php

│   ├── installed.json

│   └── LICENSE

└── workerman

├── gateway-worker

│   ├── composer.json

│   ├── MIT-LICENSE.txt

│   ├── README.md

│   └── src

│   ├── BusinessWorker.php

│   ├── Gateway.php

│   ├── Lib

│   │   ├── Context.php

│   │   ├── DbConnection.php

│   │   ├── Db.php

│   │   └── Gateway.php

│   ├── Protocols

│   │   └── GatewayProtocol.php

│   └── Register.php

└── workerman

├── Autoloader.php

├── composer.json

├── Connection

│   ├── AsyncTcpConnection.php

│   ├── AsyncUdpConnection.php

│   ├── ConnectionInterface.php

│   ├── TcpConnection.php

│   └── UdpConnection.php

├── Events

│   ├── EventInterface.php

│   ├── Event.php

│   ├── Ev.php

│   ├── Libevent.php

│   ├── React

│   │   ├── Base.php

│   │   ├── ExtEventLoop.php

│   │   ├── ExtLibEventLoop.php

│   │   └── StreamSelectLoop.php

│   ├── Select.php

│   └── Swoole.php

├── Lib

│   ├── Constants.php

│   └── Timer.php

├── MIT-LICENSE.txt

├── Protocols

│   ├── Frame.php

│   ├── Http

│   │   └── mime.types

│   ├── Http.php

│   ├── ProtocolInterface.php

│   ├── Text.php

│   ├── Websocket.php

│   └── Ws.php

├── README.md

├── WebServer.php

└── Worker.php

22 directories, 75 files