Skip to content

aaghawaheed/php-socket.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

License

MIT

About

Socket.io usage with PHP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published