php-socket.io
By Accessing Emit-test.php file you can emit data on node server, you can recieve the data in realtime on receiver.php file. check console in developer tool.
Installation
Install NodeJS
Install PHP Composer
Then run the following commands in project's root directory.
composer install
npm install
npm start
Usage
http://localhost/php-socket.io/emit-test.php # It will emit data on server
http://localhost/php-socket.io/receiver.php # It will receive data
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.