attila-erdos/elephant.io

Send events to a websocket real time engine though PHP

4.0.12 2021-12-08 06:29 UTC

README

Elephant.io

Latest Stable Version Total Downloads Latest Unstable Version License

        ___     _,.--.,_         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

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

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

The docs are not written yet, but you should check the example directory to get a basic knowledge on how this library is meant to work.

Special Thanks

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