dizews / yii2-push-stream
yi2 component and widget for nginx push stream module
Installs: 312
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 2
Open Issues: 0
Language:JavaScript
Type:yii2-extension
Requires
- php: >=7.2
- guzzlehttp/guzzle: ^6.2
- yiisoft/yii2: ^2.0
This package is auto-updated.
Last update: 2024-11-14 23:02:41 UTC
README
push stream module
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist dizews/yii2-push-stream "*"
or add
"dizews/yii2-push-stream": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \dizews\pushStream\PushStreamWidget::widget(); ?>