PHPackages                             anmoroz/yii2-analytics - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. anmoroz/yii2-analytics

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

anmoroz/yii2-analytics
======================

Yii2 Module for data analysts

0.0.1(10y ago)952MITPHPPHP &gt;=5.4.0

Since Oct 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/anmoroz/yii2-analytics)[ Packagist](https://packagist.org/packages/anmoroz/yii2-analytics)[ RSS](/packages/anmoroz-yii2-analytics/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (8)Versions (3)Used By (0)

Yii2 Module for data analysts
=============================

[](#yii2-module-for-data-analysts)

Construction of complex sections of data in tabular form.

[Здесь документация на Русском языке](https://github.com/anmoroz/yii2-analytics/tree/master/docs)

Requirements
------------

[](#requirements)

- PHP &gt;= 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
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

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
-------------

[](#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
-------------

[](#indexing-data)

Execute the `php yii analytics/indexation` command

[![yii2-analytics schema](https://camo.githubusercontent.com/68e5b3f57c903b7d83cbd4f214d1b7eec1e6754f2797f7b23a59e21fc8d2b5c4/68747470733a2f2f7261772e6769746875622e636f6d2f616e6d6f726f7a2f796969322d616e616c79746963732f6d61737465722f646f63732f73637265656e73686f74732f796969322d616e616c79746963732d736368656d612e6a7067)](https://camo.githubusercontent.com/68e5b3f57c903b7d83cbd4f214d1b7eec1e6754f2797f7b23a59e21fc8d2b5c4/68747470733a2f2f7261772e6769746875622e636f6d2f616e6d6f726f7a2f796969322d616e616c79746963732f6d61737465722f646f63732f73637265656e73686f74732f796969322d616e616c79746963732d736368656d612e6a7067)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3927d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b73aa7a7002f3832e23f73834d8e90592875035b5ea890bdf30f1264bc2d6e6?d=identicon)[anmoroz](/maintainers/anmoroz)

---

Top Contributors

[![anmoroz](https://avatars.githubusercontent.com/u/6552104?v=4)](https://github.com/anmoroz "anmoroz (7 commits)")

---

Tags

yii2data-analyticsanmoroz

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/anmoroz-yii2-analytics/health.svg)

```
[![Health](https://phpackages.com/badges/anmoroz-yii2-analytics/health.svg)](https://phpackages.com/packages/anmoroz-yii2-analytics)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.8k58](/packages/skeeks-cms)[wbraganca/yii2-tagsinput

The yii2-tagsinput is a Yii 2 wrapper for \[bootstrap-tagsinput\](https://github.com/timschlechter/bootstrap-tagsinput). A user interface for managing tags.

32160.9k1](/packages/wbraganca-yii2-tagsinput)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
