2017 © Pedro Peláez
 

yii2-extension yii2-piwik

The Piwiki plugin for Yii 2 framework

image

sitawit/yii2-piwik

The Piwiki plugin for Yii 2 framework

  • Monday, February 22, 2016
  • by sitawit
  • Repository
  • 1 Watchers
  • 0 Stars
  • 652 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 12 % Grown

The README.md

Piwik Extension for Yii 2

This extension adds a javascript tracking of Piwik for Yii framework 2.0., (*1)

For license information check the LICENSE-file., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require sitawit/yii2-piwik *

or add, (*5)

"sitawit/yii2-piwik": "*"

to the require section of your composer.json., (*6)

Usage & Documentation

Once the extension is installed, simply modify your application configuration as follows:, (*7)

return [
    'bootstrap' => [
        ...
        'piwik',
        ...
    ],
    ...
    'components' => [
        ...
        'piwik' => [
            'class' => 'sitawit\piwik\Piwik',
            'trackerUrl' => 'tracker-url',
            'siteId' => 'id-of-website'
        ],
        ...
    ],
    ...
];

The Versions

22/02 2016

dev-master

9999999-dev

The Piwiki plugin for Yii 2 framework

  Sources   Download

MIT

The Requires

 

by Sitawit Suteepohnwiroj