PocketIO is a rough websocket client written in PHP. Its goal is to ease the
communications between your PHP Application and a real-time server.
Requires PHP 7.4 and openssl, licensed under the MIT License.
Built-in Engines :
- Socket.io 4.x -> works!
- Socket.io 3.x -> works!
- Socket.io 2.x -> not tested
- Socket.io 1.x -> not tested
Special thanks Elephant.IO teams.
We are suggesting you to use composer, with the following: php composer.phar require polatdev/pocket.io
Or basicly: composer require polatdev/pocket.io
For other ways, you can check the release page, or the git clone urls.
The docs are not written yet, but you should check the example directory to get a basic knowledge on how this library is meant to work.
Special thanks goes to Elephant.IO Teams.