Giter Site home page Giter Site logo

mmm25002500 / workerman-chat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from walkor/workerman-chat

0.0 1.0 0.0 1.89 MB

Websocket chat room written in PHP based on workerman.

Home Page: http://chat.workerman.net/

License: MIT License

PHP 79.47% Batchfile 0.36% Hack 20.16%

workerman-chat's Introduction

workerman-chat

基於workerman的GatewayWorker框架開發的一款高性能支援分散式部署的聊天室系統。

GatewayWorker框架文檔:http://www.workerman.net/gatewaydoc/

特性

  • 使用websocket協定
  • 多流覽器支持(流覽器支持html5或者flash任意一種即可)
  • 多房間支持
  • 私聊支持
  • 掉線自動重連
  • 微博圖片自動解析
  • 聊天內容支援微博表情
  • 支援多伺服器部署
  • 業務邏輯全部在一個檔中,快速入門可以參考這個檔Applications/Chat/Event.php

下載安裝

1、git clone https://github.com/walkor/workerman-chat

2、composer install

啟動停止(Linux系統)

以debug方式啟動
php start.php start

以daemon方式啟動
php start.php start -d

啟動(windows系統)

按兩下start_for_win.bat

注意:
windows系統下無法使用 stop reload status 等命令
如果無法打開頁面請嘗試關閉伺服器防火牆

測試

流覽器訪問 http://伺服器ip或域:55151,例如http://127.0.0.1:55151

更多請訪問www.workerman.net

workerman-chat's People

Contributors

924211739 avatar chenjia404 avatar cocos543 avatar joelhy avatar mmm25002500 avatar sitfon avatar sky-l avatar walkor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.