Skip to content

Example ReactPHP Project : Websocket Chats. With the help of Thruway as PHP Router Library for Autobahn (use autobahn-browser as a client) Real-Time Application Messaging.

Notifications You must be signed in to change notification settings

fajarbc/reactphp-thruway-websocket-chats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reactphp-thruway-websocket-chats

Description

Example ReactPHP Project : Websocket Chats. With the help of Thruway as PHP Router Library for Autobahn (use autobahn-browser as a client) Real-Time Application Messaging.

Install

After clone and cd to this project. Install composer dependency

composer update

Run

  1. WebSocket Server (keep it running)

    php ws-router.php
  2. Client

    Just visit index.html with your browser (I use Live Server from VS Code). Open index.html with multiple browser to see the realtime chat goes on.

    Result

About

Example ReactPHP Project : Websocket Chats. With the help of Thruway as PHP Router Library for Autobahn (use autobahn-browser as a client) Real-Time Application Messaging.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages