anmoroz/yii2-analytics Yii2 Module for data analysts

anmorozdataanalytics

Yii2 Module for data analysts

Construction of complex sections of data in tabular form.

Здесь документация на Русском языке

Requirements

  • PHP >= 5.4.0.
  • Elasticsearch 1.7.2
  • yiisoft/yii2 ~2.0
  • yiisoft/yii2-bootstrap ~2.0
  • ruflin/elastica ~2.2.1
  • bower-asset/select2 ~4.0

Installation

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.

Configuration

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

Indexing data

Execute the php yii analytics/indexation command

yii2-analytics schema

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



0.0.1 is the latest of one release



MIT license
Stats
9 github stars & 2 github forks
0 downloads in the last day
0 downloads in the last 30 days
5 total downloads