├── runtime ├── logs │ └── .gitignore ├── views │ └── .gitignore └── .gitignore ├── windows.bat ├── preview ├── chat.png └── login.png ├── public ├── favicon.ico ├── 404.html └── static │ ├── js │ ├── common.js │ ├── index.js │ └── chatroom.js │ └── lib │ ├── js.cookie.min.js │ ├── bootstrap │ └── css │ │ ├── bootstrap-reboot.min.css │ │ ├── bootstrap-reboot.rtl.min.css │ │ ├── bootstrap-reboot.rtl.css │ │ ├── bootstrap-reboot.css │ │ ├── bootstrap-reboot.min.css.map │ │ └── bootstrap-reboot.rtl.min.css.map │ └── message.js ├── config ├── plugin │ └── webman │ │ └── gateway-worker │ │ ├── app.php │ │ └── process.php ├── message-class.php ├── dependence.php ├── middleware.php ├── container.php ├── bootstrap.php ├── exception.php ├── autoload.php ├── static.php ├── redis.php ├── translation.php ├── view.php ├── app.php ├── route.php ├── log.php ├── server.php ├── database.php ├── process.php ├── .env.example.php └── session.php ├── .github └── FUNDING.yml ├── .gitignore ├── app ├── exception │ ├── WebSocketNoSendException.php │ ├── WebSocketAuthenticationException.php │ ├── WebSocketAuthExpception.php │ └── Handler.php ├── support │ ├── interface │ │ └── ChatInterface.php │ └── websocket │ │ ├── MessageProcessing.php │ │ └── type │ │ └── TextMessage.php ├── enum │ └── WebSocketMsgType.php ├── model │ ├── Test.php │ └── User.php ├── validate │ └── UserValidate.php ├── view │ ├── layouts │ │ └── app.html │ └── index │ │ ├── index.html │ │ └── chatroom.html ├── middleware │ └── StaticFile.php ├── functions.php └── controller │ └── IndexController.php ├── support ├── Request.php ├── Response.php ├── Plugin.php ├── bootstrap.php └── helpers.php ├── phinx.php ├── process ├── Task.php └── Monitor.php ├── database └── migrations │ └── 20220811030439_users.php ├── LICENSE ├── composer.json ├── README.md ├── windows.php ├── start.php └── plugin └── webman └── gateway └── Events.php /runtime/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /runtime/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /windows.bat: -------------------------------------------------------------------------------- 1 | CHCP 65001 2 | php windows.php 3 | pause -------------------------------------------------------------------------------- /runtime/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !logs 3 | !views 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /preview/chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getda/Liao/HEAD/preview/chat.png -------------------------------------------------------------------------------- /preview/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getda/Liao/HEAD/preview/login.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getda/Liao/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /config/plugin/webman/gateway-worker/app.php: -------------------------------------------------------------------------------- 1 | true, 4 | ]; -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | open_collective: walkor 4 | patreon: walkor 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | /.vscode 3 | /vendor 4 | *.log 5 | config/.env.php 6 | /tests/tmp 7 | /tests/.phpunit.result.cache 8 | /phinx 9 | /composer.phar 10 | -------------------------------------------------------------------------------- /app/exception/WebSocketNoSendException.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |