PHPackages                             ashikkaiser/lumen.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. ashikkaiser/lumen.io

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

ashikkaiser/lumen.io
====================

Send events to a real time websocket engine through PHP

v1.0.1(3y ago)015MITPHPPHP ^7.3|^8.0

Since Sep 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ashikkaiser/LumenIO)[ Packagist](https://packagist.org/packages/ashikkaiser/lumen.io)[ Docs](https://elephantio.github.io/elephant.io/)[ RSS](/packages/ashikkaiser-lumenio/feed)WikiDiscussions master Synced 2d ago

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

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

[](#elephantio)

[![Build Status](https://camo.githubusercontent.com/ab223fc4d8b526625d5e634b20fe6d4ded370995422ca66a3cbe2b51f60ec1c2/68747470733a2f2f6170702e7472617669732d63692e636f6d2f456c657068616e74494f2f656c657068616e742e696f2e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/github/ElephantIO/elephant.io)[![Latest Stable Version](https://camo.githubusercontent.com/43f94f2e29067a01f9cba436e7410e63ccf2d9acc21d42b00a26abf50e5e2e57/68747470733a2f2f706f7365722e707567782e6f72672f656c657068616e74696f2f656c657068616e742e696f2f762f737461626c652e737667)](https://packagist.org/packages/elephantio/elephant.io)[![Total Downloads](https://camo.githubusercontent.com/38cedb8f9580f52320a09ccdccf1f76c9414978362c391740fd1853fe7614913/68747470733a2f2f706f7365722e707567782e6f72672f656c657068616e74696f2f656c657068616e742e696f2f646f776e6c6f6164732e737667)](https://packagist.org/packages/elephantio/elephant.io)[![License](https://camo.githubusercontent.com/b83122f2838e62a750082a7deb2870a2c254391c839c1761923b482206226f1a/68747470733a2f2f706f7365722e707567782e6f72672f656c657068616e74696f2f656c657068616e742e696f2f6c6963656e73652e737667)](https://packagist.org/packages/elephantio/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 4.x, 3.x, 2.x, 1.x
            [nn[nn..][nn..]      - Socket.io 0.x (courtesy of @kbu1564)
          ~~~~~~~~~~~~~~~~~~~

```

Installation
------------

[](#installation)

We are suggesting you to use composer, with the following: `composer require ashikkaiser/lumen.io`. For other ways, you can check the release page, or the git clone urls.

Usage
-----

[](#usage)

To use Elephant.io to communicate with socket server described as follow.

```
