ghabxph / elephant.io
Send events to a websocket real time engine though PHP
Requires
- php: >=5.4.0
- psr/log: ~1.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2025-06-22 06:46:11 UTC
README
___ _,.--.,_ 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
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
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
The docs are not written yet, but you should check the example directory to have a basic knownledge 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.