klxdr / yii2-hc-widget
HC widget for Yii2.
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2025-06-30 17:46:41 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 ]);