rodber/php-sse-react
最新稳定版本:0.2.1
Composer 安装命令:
composer require rodber/php-sse-react
包简介
Streaming, async HTML5 Server-Sent Events server (aka. SSE or EventSource)
README 文档
README
Streaming, async HTML5 Server-Sent Events server (aka. SSE or EventSource), built on top of React PHP.
Note: This project is in early alpha stage! Feel free to report any issues you encounter.
Quickstart example
See the examples.
Install
The recommended way to install this library is through Composer. New to Composer?
Once released, this project will follow SemVer. At the moment, this will install the latest development version:
{
"require": {
"rodber/php-sse-react": "^0.2"
}
}
This project aims to run on any platform and thus does not require any PHP extensions and supports running on legacy PHP 5.3 through PHP 7.3. It's highly recommended to use the latest supported PHP version for this project.
Tests
To run the test suite, you first need to clone this repo and then install all dependencies through Composer:
composer install
To run the test suite, go to the project root and run:
php vendor/bin/phpunit
License
MIT, see LICENSE file.
统计信息
- 总下载量: 10.65k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-02-03