PHPackages                             mesutaydin/mocket.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. mesutaydin/mocket.io

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

mesutaydin/mocket.io
====================

Connect to websocket with PHP

v1.0(3y ago)014MITPHPPHP &gt;=7.1

Since Dec 12Pushed 3y agoCompare

[ Source](https://github.com/xmaydin/mocketio)[ Packagist](https://packagist.org/packages/mesutaydin/mocket.io)[ Docs](https://www.cityzore.com)[ RSS](/packages/mesutaydin-mocketio/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)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 mesutaydin/mocket.io`

Or basicly: `composer require mesutaydin/mocket.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

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

Unknown

Total

1

Last Release

1244d ago

### Community

Maintainers

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

---

Top Contributors

[![xmaydin](https://avatars.githubusercontent.com/u/63167687?v=4)](https://github.com/xmaydin "xmaydin (4 commits)")[![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/mesutaydin-mocketio/health.svg)

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

###  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)
