klxdr/yii2-hc-widget

HC widget for Yii2.

Maintainers

Package info

github.com/klxdr/yii2-hc-widget

Issues

Type:yii2-extension

pkg:composer/klxdr/yii2-hc-widget

Statistics

Installs: 31

Dependents: 0

Suggesters: 0

Stars: 0

1.0.0 2016-07-18 17:42 UTC

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
]);