Construction of complex sections of data in tabular form.
Здесь документация на Русском языке
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist anmoroz/yii2-analytics
or add
"anmoroz/yii2-analytics": "~0.0.1"
to the require section of your composer.json.
Edit the configuration file (web.php), for example:
In section "module"
'analytics' => [
'class' => 'anmoroz\analytics\Module',
'configClass' => 'app\components\AnalystsConfigurator',
'dbAdapterName' => 'db',
'elasticSearch' => [
'host' => 'localhost',
'port' => '9200',
'debug' => false
]
]
Edit the configuration file (console.php) as web.php, and additionally in section "bootstrap"
'bootstrap' => ['analytics']
Create AnalystsConfigurator exstends anmoroz\analytics\components\AbstractConfigurator
Execute the php yii analytics/indexation
command
Comments