Skip to content

EuroMD/yii2-yandex-metrika

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yandex Metrika API (Yii2-wrapper)

Total Downloads Latest Stable Version Latest Unstable Version License

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --dev --prefer-dist euromd/yii2-yandex-metrika "*"

or add

"euromd/yii2-yandex-metrika": "*"

to the require-dev section of your composer.json.

General Usage

To use this extension, simply add the following code in your application configuration:

return [
    //....
    'components' => [
        'yandexMetrika' => [
            'class' => '\EuroMD\yandexMetrika\Client',
            'clientID' => 'Your Yandex App client ID...',
            'clientSecret' => 'Your Yandex App client secret...'
        ],
    ],
];

About

Yii2-wrapper for Yandex Metrika API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages