ghabxph / elephant.io
通过PHP将事件发送到WebSocket实时引擎
v3.3.0
2017-05-09 22:28 UTC
Requires
- php: >=5.4.0
- psr/log: ~1.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-09-29 03:00:02 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
自从Wisembly宣布不再维护此项目后,我决定将其分支并继续开发。我认为官方仓库仍然是 wisembly/elephant.io。但,如果您愿意,请随意使用这个分支。如果您发现了某些错误,请友好地提出问题。
安装
我们建议您使用composer,以下是命令:php composer.phar require wisembly/elephant.io。对于其他方式,您可以查看发布页面或git克隆URL。
文档
文档尚未编写,但您应该检查示例目录,以了解此库的工作方式。
特别感谢
特别感谢Mark Karpeles,他帮助项目创始人理解WebSocket的工作方式。