octoweb / yii2-yandex-metrika
Module to rule your yandex metrika counters.
Package info
github.com/OctoWeb/yii2-yandex-metrika
Type:yii2-extension
pkg:composer/octoweb/yii2-yandex-metrika
1.0.0
2015-10-09 01:19 UTC
This package is not auto-updated.
Last update: 2026-03-04 17:36:41 UTC
README
Module to rule your yandex metrika counters.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist octoweb/yii2-yandex-metrika "*"
or add
"octoweb/yii2-yandex-metrika": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply activate module in config file:
<?php ...... 'modules' => [ 'yandex-metrika' => [ 'class' => 'octoweb\YandexMetrika\Module' ], ], ...... ?>
Run migration. Module will create own table for migration history tbl_ym_migrations
yii migrate/up --migrationPath=@vendor/octoweb/yii2-yandex-metrika/migrations --migrationTable=tbl_ym_migrations
.