定制 anmoroz/yii2-analytics 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

anmoroz/yii2-analytics

最新稳定版本:0.0.1

Composer 安装命令:

composer require anmoroz/yii2-analytics

包简介

Yii2 Module for data analysts

README 文档

README

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

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-09-30