webim:使用PHP + Swoole实现的网页即时聊天工具

上传者: 42117340 | 上传时间: 2022-04-18 17:53:52 | 文件大小: 178KB | 文件类型: ZIP
PHP
WebIM 使用PHP + Swoole4实现的网页即时聊天工具,在线体验地址: : Swoole4 基于Swoole4协程实现,可以同时支持数百万TCP连接在线 基于WebSocket + Http Comet支持所有浏览器/客户端/移动端 支持单聊/群聊/组聊等功能 聊天记录使用MySQL存储 用户列表和在线信息使用Redis存储 基于Server PUSH的即时内容更新,登录/登出/状态变更/消息等会内容即时更新 支持发送链接/图片/语音/视频/文件(开发中) 支持Web端直接管理所有在线用户和分组(开发中) 依赖 需要Swoole-4.4.7或更高版本 pecl install swoole 部署说明 安装依赖的作曲家包 composer install 修改配置 配置configs/redis.php中的Redis服务器信息,用户列表和信息会存到Redis中 配置configs

文件下载

资源详情

[{"title":"( 53 个子文件 178KB ) webim:使用PHP + Swoole实现的网页即时聊天工具","children":[{"title":"webim-2.0","children":[{"title":"configs","children":[{"title":"webim.php <span style='color:#111;'> 829B </span>","children":null,"spread":false},{"title":"log.php <span style='color:#111;'> 122B </span>","children":null,"spread":false},{"title":"db.php <span style='color:#111;'> 397B </span>","children":null,"spread":false},{"title":"redis.php <span style='color:#111;'> 76B </span>","children":null,"spread":false},{"title":"upload.php <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"login.php <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":"cache.php <span style='color:#111;'> 72B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"Pool.php <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"Server.php <span style='color:#111;'> 16.32KB </span>","children":null,"spread":false},{"title":"RedisPool.php <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"MySQLPool.php <span style='color:#111;'> 334B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"resources","children":[{"title":"templates","children":[{"title":"chatroom.php <span style='color:#111;'> 5.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"static","children":[{"title":"img","children":[{"title":"button.jpg <span style='color:#111;'> 5.75KB </span>","children":null,"spread":false},{"title":"button.png <span style='color:#111;'> 921B </span>","children":null,"spread":false},{"title":"face","children":[{"title":"17.gif <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"9.gif <span style='color:#111;'> 971B </span>","children":null,"spread":false},{"title":"4.gif <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"11.gif <span style='color:#111;'> 7.67KB </span>","children":null,"spread":false},{"title":"3.gif <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"6.gif <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"18.gif <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"19.gif <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"2.gif <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"7.gif <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"5.gif <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"14.gif <span style='color:#111;'> 11.98KB </span>","children":null,"spread":false},{"title":"12.gif <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"10.gif <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false},{"title":"1.gif <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"13.gif <span style='color:#111;'> 11.72KB </span>","children":null,"spread":false},{"title":"16.gif <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"15.gif <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"8.gif <span style='color:#111;'> 3.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"button1.jpg <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"f1.png <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"default.jpg <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"button2.jpg <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false},{"title":"avatar1.jpg <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"button.gif <span style='color:#111;'> 8.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"js","children":[{"title":"chat.js <span style='color:#111;'> 8.92KB </span>","children":null,"spread":false},{"title":"jquery.js <span style='color:#111;'> 90.89KB </span>","children":null,"spread":false},{"title":"bootstrap.js <span style='color:#111;'> 27.87KB </span>","children":null,"spread":false},{"title":"jquery.json.js <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"console.js <span style='color:#111;'> 113B </span>","children":null,"spread":false},{"title":"comet.js <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"css","children":[{"title":"chat.css <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"main.css <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"bootstrap1.css <span style='color:#111;'> 90.46KB </span>","children":null,"spread":false},{"title":"bootstrap.css <span style='color:#111;'> 90.46KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 89B </span>","children":null,"spread":false},{"title":"server.php <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"composer.json <span style='color:#111;'> 140B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明