faimmedia/ratchet-websocket
Composer 安装命令:
composer require faimmedia/ratchet-websocket
包简介
Improved wrapper for PHP Ratchet websocket server
README 文档
README
Modified wrapper for Ratchet's Websocket App class. This wrapper does not use the Flash Socket Server so it could be implemented multiple times on the same server, without the could not bind to address 0.0.0.0:8843 error message.
Please note that older browsers than IE10 will not be supported with this method.
http://caniuse.com/#search=websocket
Install
In order to install this library via composer run the following command in the console:
composer require faimmedia/ratchet-websocket
or add the package manually to your composer.json file in the require section:
"faimmedia/ratchet-websocket": "^1.0"
Example
There is an example CLI script in the examples folder (Run.php). Use the --help argument for accepted parameters.
统计信息
- 总下载量: 275
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-26