klxdr / yii2-hc-widget
HC widget for Yii2.
1.0.0
2016-07-18 17:42 UTC
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2026-02-23 20:40:52 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
composer require klxdr/yii2-hc-widget:~1.0
or add
"klxdr/yii2-hc-widget" : "~1.0"
to the require section of your application's composer.json file.
Usage
Read documentation firstly https://www.hypercomments.com/ru/documentation/
To display HC comments
use klxdr\hc\Comments; echo Comments::widget([ 'siteid' => WIDGET_ID, 'identifier' => XID ]);
To render CommentsCount widget write:
use klxdr\hc\CommentsCount; CommentsCount::widget([ 'siteid' => WIDGET_ID, 'identifier' => XID ]);