PHPackages                             polatdev/pocket.io - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. polatdev/pocket.io

ActiveLibrary[HTTP &amp; Networking](/categories/http)

polatdev/pocket.io
==================

Connect to websocket with PHP

1.0.2(4y ago)0921MITPHPPHP &gt;=7.4

Since Oct 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/polatdev/pocketio)[ Packagist](https://packagist.org/packages/polatdev/pocket.io)[ Docs](https://pocketio.polatdev.com)[ RSS](/packages/polatdev-pocketio/feed)WikiDiscussions main Synced 5d ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

PocketIO
========

[](#pocketio)

```
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
============

[](#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
=============

[](#documentation)

The docs are not written yet, but you should check [the example directory](https://github.com/polatdev/pocketio/tree/main/example)to get a basic knowledge on how this library is meant to work.

Special Thanks
==============

[](#special-thanks)

Special thanks goes to Elephant.IO Teams.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Total

3

Last Release

1657d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f482fc1413f559e30dc6e4b34aedd323f26a787c4920c6776c98e7ff4d475ec4?d=identicon)[polatdev](/maintainers/polatdev)

---

Top Contributors

[![polatdev](https://avatars.githubusercontent.com/u/40968428?v=4)](https://github.com/polatdev "polatdev (1 commits)")

---

Tags

websocketreal-timenodejspollingphp-websocket

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/polatdev-pocketio/health.svg)

```
[![Health](https://phpackages.com/badges/polatdev-pocketio/health.svg)](https://phpackages.com/packages/polatdev-pocketio)
```

###  Alternatives

[elephantio/elephant.io

Send events to a socket.io server through PHP

135713.8k7](/packages/elephantio-elephantio)[denis660/laravel-centrifugo

Centrifugo broadcaster for laravel

113164.7k](/packages/denis660-laravel-centrifugo)[vinelab/minion

A Simple WAMP (Web Application Messaging Protocol) server and command line tool

1276.4k](/packages/vinelab-minion)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
