PHPackages                             ghabxph/elephant.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. ghabxph/elephant.io

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

ghabxph/elephant.io
===================

Send events to a websocket real time engine though PHP

v3.3.0(9y ago)021MITPHPPHP &gt;=5.4.0CI failing

Since Aug 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ghabxph/elephant.io)[ Packagist](https://packagist.org/packages/ghabxph/elephant.io)[ Docs](http://elephant.io)[ RSS](/packages/ghabxph-elephantio/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (17)Used By (0)

Elephant.io
===========

[](#elephantio)

[![Build Status](https://camo.githubusercontent.com/48aff0e1f5d73261d531d6f5c2d2def43e40d926d1fece94483127d98f89d43a/68747470733a2f2f7472617669732d63692e6f72672f676861627870682f656c657068616e742e696f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ghabxph/elephant.io)[![Latest Stable Version](https://camo.githubusercontent.com/9dbbde50ed51da127033fd138487d43eb10f5c44ecd998012db379eba097a0aa/68747470733a2f2f706f7365722e707567782e6f72672f676861627870682f656c657068616e742e696f2f762f737461626c652e737667)](https://packagist.org/packages/ghabxph/elephant.io)[![Total Downloads](https://camo.githubusercontent.com/344b1f6046f1ed26ba71c7520ab0de110d990e12e05f568bb82ae5a8df513004/68747470733a2f2f706f7365722e707567782e6f72672f676861627870682f656c657068616e742e696f2f646f776e6c6f6164732e737667)](https://packagist.org/packages/ghabxph/elephant.io)[![License](https://camo.githubusercontent.com/0ea4d6ec4cdb99c9d24994c018687c882feb644cdba185a817dbdb88d96717d2/68747470733a2f2f706f7365722e707567782e6f72672f776973656d626c792f656c657068616e742e696f2f6c6963656e73652e737667)](https://packagist.org/packages/wisembly/elephant.io)

```
        ___     _,.--.,_         Elephant.io is a rough websocket client
      .-~   ~--"~-.   ._ "-.     written in PHP. Its goal is to ease the
     /      ./_    Y    "-. \    communications between your PHP Application and
    Y       :~     !         Y   a real-time server.
    lq p    |     /         .|
 _   \. .-, l    /          |j   Requires PHP 5.4 and openssl, licensed under
()\___) |/   \_/";          !    the MIT License.
 \._____.-~\  .  ~\.      ./
            Y_ Y_. "vr"~  T      Built-in Engines :
            (  (    |L    j      - Socket.io 1.x
            [nn[nn..][nn..]      - Socket.io 0.x (courtesy of @kbu1564)
          ~~~~~~~~~~~~~~~~~~~

```

NOTICE
======

[](#notice)

Since Wisembly declared that they are no longer maintaining this project, I've decided to fork this project and continue it. I think the official repository is still wisembly/elephant.io. But, feel free to use this fork if you wish. If you found some bug, kindly raise an issue for that.

Installation
============

[](#installation)

We are suggesting you to use composer, with the following : `php composer.phar require wisembly/elephant.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/ghabxph/elephant.io/tree/master/example)to have a basic knownledge on how this library is meant to work.

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

[](#special-thanks)

Special thanks goes to Mark Karpeles who helped the project founder to understand the way websockets works.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 72.6% 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 ~124 days

Recently: every ~245 days

Total

15

Last Release

3292d ago

Major Versions

v1.0.0-alpha → v2.0.0-alpha2012-09-17

v2.0.4 → v3.0.0-beta2014-08-12

PHP version history (2 changes)v1.0.0-alphaPHP &gt;=5.3.0

v3.0.0-betaPHP &gt;=5.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11975597?v=4)[ガビーくん](/maintainers/ghabxph)[@ghabxph](https://github.com/ghabxph)

---

Top Contributors

[![Taluu](https://avatars.githubusercontent.com/u/239685?v=4)](https://github.com/Taluu "Taluu (98 commits)")[![vincentdieltiens](https://avatars.githubusercontent.com/u/589764?v=4)](https://github.com/vincentdieltiens "vincentdieltiens (7 commits)")[![kbu1564](https://avatars.githubusercontent.com/u/7445459?v=4)](https://github.com/kbu1564 "kbu1564 (7 commits)")[![ghabxph](https://avatars.githubusercontent.com/u/11975597?v=4)](https://github.com/ghabxph "ghabxph (5 commits)")[![mshaverdo](https://avatars.githubusercontent.com/u/9406737?v=4)](https://github.com/mshaverdo "mshaverdo (4 commits)")[![SeinopSys](https://avatars.githubusercontent.com/u/3200580?v=4)](https://github.com/SeinopSys "SeinopSys (4 commits)")[![Padam87](https://avatars.githubusercontent.com/u/776488?v=4)](https://github.com/Padam87 "Padam87 (2 commits)")[![kcahir](https://avatars.githubusercontent.com/u/1980065?v=4)](https://github.com/kcahir "kcahir (2 commits)")[![neanton](https://avatars.githubusercontent.com/u/452471?v=4)](https://github.com/neanton "neanton (1 commits)")[![HaykoKoryun](https://avatars.githubusercontent.com/u/2579764?v=4)](https://github.com/HaykoKoryun "HaykoKoryun (1 commits)")[![lattwood](https://avatars.githubusercontent.com/u/6198952?v=4)](https://github.com/lattwood "lattwood (1 commits)")[![danielhusar](https://avatars.githubusercontent.com/u/1857751?v=4)](https://github.com/danielhusar "danielhusar (1 commits)")[![titanco](https://avatars.githubusercontent.com/u/8854939?v=4)](https://github.com/titanco "titanco (1 commits)")[![tot-ra](https://avatars.githubusercontent.com/u/445122?v=4)](https://github.com/tot-ra "tot-ra (1 commits)")

---

Tags

websocketreal-timenodejsdialog

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ghabxph-elephantio/health.svg)

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

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