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

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

attila-erdos/elephant.io
========================

Send events to a websocket real time engine though PHP

4.0.12(4y ago)05.0k↓50%MITPHPPHP &gt;=7.1.0

Since Aug 5Pushed 4y agoCompare

[ Source](https://github.com/attila-erdos/elephant.io)[ Packagist](https://packagist.org/packages/attila-erdos/elephant.io)[ Docs](http://elephant.io)[ RSS](/packages/attila-erdos-elephantio/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (32)Used By (0)

Forkd from
====================================================

[](#forkd-from-httpsgithubcomwisemblyelephantio)

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

[](#elephantio)

[![Latest Stable Version](https://camo.githubusercontent.com/bf80c879d733a259e49d1f8a605115ba23c7d91f99a1f1bb3037bc1dd9838e4d/687474703a2f2f706f7365722e707567782e6f72672f617474696c612d6572646f732f656c657068616e742e696f2f76)](https://packagist.org/packages/attila-erdos/elephant.io)[![Total Downloads](https://camo.githubusercontent.com/339292377671f678b94334a30fa8f3dc13e469f5b4322e699c429cbe90c68689/687474703a2f2f706f7365722e707567782e6f72672f617474696c612d6572646f732f656c657068616e742e696f2f646f776e6c6f616473)](https://packagist.org/packages/attila-erdos/elephant.io)[![Latest Unstable Version](https://camo.githubusercontent.com/66634689142341633d9a827fc5a1bebded040c08a89f5e82a2323951f4bbf578/687474703a2f2f706f7365722e707567782e6f72672f617474696c612d6572646f732f656c657068616e742e696f2f762f756e737461626c65)](https://packagist.org/packages/attila-erdos/elephant.io)[![License](https://camo.githubusercontent.com/6c13afe55b4b030ac8b0d82d2fb3aa7f5034e17c55dad48453f75c50493740ae/687474703a2f2f706f7365722e707567782e6f72672f617474696c612d6572646f732f656c657068616e742e696f2f6c6963656e7365)](https://packagist.org/packages/attila-erdos/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 3.x and 4.x (4.x not sure)
            [nn[nn..][nn..]      - Socket.io 2.x
          ~~~~~~~~~~~~~~~~~~~    - Socket.io 1.x
                                 - Socket.io 0.x (courtesy of @kbu1564)

```

NOTICE
======

[](#notice)

As we are not using Elephant.io anymore at Wisembly, and not having the time to maintain this library, we are looking for maintainers. Please look at the dedicated issue #135 !

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

[](#installation)

We are suggesting you to use composer, with the following : `composer require attila-erdos/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/Wisembly/elephant.io/tree/master/example)to get a basic knowledge 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

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 68.4% 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 ~131 days

Recently: every ~29 days

Total

27

Last Release

1616d ago

Major Versions

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

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

v3.3.1 → 4.0.02021-07-22

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

v3.0.0-betaPHP &gt;=5.4.0

4.0.0PHP &gt;=7.1.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39643776?v=4)[Attila Erdős](/maintainers/attila-erdos)[@attila-erdos](https://github.com/attila-erdos)

---

Top Contributors

[![Taluu](https://avatars.githubusercontent.com/u/239685?v=4)](https://github.com/Taluu "Taluu (119 commits)")[![kbu1564](https://avatars.githubusercontent.com/u/7445459?v=4)](https://github.com/kbu1564 "kbu1564 (7 commits)")[![vincentdieltiens](https://avatars.githubusercontent.com/u/589764?v=4)](https://github.com/vincentdieltiens "vincentdieltiens (7 commits)")[![attila-erdos](https://avatars.githubusercontent.com/u/39643776?v=4)](https://github.com/attila-erdos "attila-erdos (5 commits)")[![aquaminer](https://avatars.githubusercontent.com/u/17113289?v=4)](https://github.com/aquaminer "aquaminer (4 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)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (3 commits)")[![ardabeyazoglu](https://avatars.githubusercontent.com/u/1159836?v=4)](https://github.com/ardabeyazoglu "ardabeyazoglu (3 commits)")[![kcahir](https://avatars.githubusercontent.com/u/1980065?v=4)](https://github.com/kcahir "kcahir (2 commits)")[![Nek-](https://avatars.githubusercontent.com/u/972456?v=4)](https://github.com/Nek- "Nek- (2 commits)")[![Padam87](https://avatars.githubusercontent.com/u/776488?v=4)](https://github.com/Padam87 "Padam87 (2 commits)")[![paulmhh](https://avatars.githubusercontent.com/u/11542301?v=4)](https://github.com/paulmhh "paulmhh (2 commits)")[![HaykoKoryun](https://avatars.githubusercontent.com/u/2579764?v=4)](https://github.com/HaykoKoryun "HaykoKoryun (1 commits)")[![papattes](https://avatars.githubusercontent.com/u/17619842?v=4)](https://github.com/papattes "papattes (1 commits)")[![lattwood](https://avatars.githubusercontent.com/u/6198952?v=4)](https://github.com/lattwood "lattwood (1 commits)")[![MusicStudioNYC](https://avatars.githubusercontent.com/u/53878072?v=4)](https://github.com/MusicStudioNYC "MusicStudioNYC (1 commits)")[![tot-ra](https://avatars.githubusercontent.com/u/445122?v=4)](https://github.com/tot-ra "tot-ra (1 commits)")[![danielhusar](https://avatars.githubusercontent.com/u/1857751?v=4)](https://github.com/danielhusar "danielhusar (1 commits)")[![teabreakninja](https://avatars.githubusercontent.com/u/9462722?v=4)](https://github.com/teabreakninja "teabreakninja (1 commits)")

---

Tags

websocketreal-timenodejsdialog

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/attila-erdos-elephantio/health.svg)](https://phpackages.com/packages/attila-erdos-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)
