p0vidl0/yii2-yandex-metrika-widget
Composer 安装命令:
composer require p0vidl0/yii2-yandex-metrika-widget
包简介
Yii2 widget to add Yandex.Metrika counter on page
README 文档
README
Yii2 widget to add Yandex.Metrika counter on page
Forked from dkushnikov/yii2-yandex-metrika
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require "p0vidl0/yii2-yandex-metrika-widget" "*"
or add
"p0vidl0/yii2-yandex-metrika-widget" : "*"
to the require section of your application's composer.json file.
Usage
use yii\widgets\YandexMetrikaCounter; <?= YandexMetrikaCounter::widget( [ 'counterId' => 12345, ] ) ?>
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD
- 更新时间: 2016-04-21