天天看點

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