Search by

polatdev / pocket.io

polatdev

Connect to websocket with PHP

Package info

github.com/polatdev/pocketio

Homepage

pkg:composer/polatdev/pocket.io

Statistics

Installs: 92

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.2 2021-10-31 10:38 UTC

This package is auto-updated.

Last update: 2026-09-20 03:30:47 UTC


README

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.

Installation

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.

Documentation

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

Special thanks goes to Elephant.IO Teams.