Tabulation WebSocket Server
- PHP 8.0 or newer (make sure php.exe is in your system PATH)
- Composer
- The following PHP extensions must be enabled in your php.ini:
zip
- How to enable PHP extensions?
-
Open your php.ini file in a text editor. (Example location for XAMPP:
C:\xampp\php\php.ini) -
Search for the following lines and remove the semicolon (;) at the beginning of each to enable them:
extension=zip -
Save the php.ini file after making the changes.
-
- The following PHP extensions must be enabled in your php.ini:
-
Clone the repository.
-
Open the project in a terminal and install the dependencies using Composer:
composer install -
Start the server in
--devmode:php index.php --devThis runs the WebSocket server on port 8079.
Notes:
- Without
--dev, it defaults to port 8080. Update your WebSocket URL in theapp/config/websocket.phpof the tabulation software to use the correct port. - You need to run this command again whenever there are updates to the codebase to ensure the latest changes take effect.
- Without
- To run the WebSocket server as a Windows service, follow the installation guide for: service/windows
Any Tabulation Software fork that includes a pre-committed app/config/websocket.example.php file is supported.
If the file is present in the repository, it means the software is ready to integrate with this WebSocket server.
To connect the Tabulation Software with the WebSocket server:
-
Copy the example config file:
[tabulation-software]/app/config/websocket.example.phpto[tabulation-software]/app/config/websocket.php -
Open the newly created websocket.php and update the WebSocket URL to match the local IP address of the machine where the WebSocket server is running.
- use port 8079 when running in development mode (--dev)
- otherwise, use port 8080
-
Open your browser and go to the dashboard using the IP address of the machine where the Tabulation Software is running:
http://<local-ip>/[tabulation-software]/app/dashboardExample:
http://192.168.0.2/missiriga/app/dashboard