PHPackages                             hesabro-modules/yii2-bi-dashboard - 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. [Framework](/categories/framework)
4. /
5. hesabro-modules/yii2-bi-dashboard

ActiveYii2-extension[Framework](/categories/framework)

hesabro-modules/yii2-bi-dashboard
=================================

Yii2 Business Intelligence Dashboard

1.0.2(1y ago)014BSD-3-ClausePHP

Since Oct 12Pushed 1y agoCompare

[ Source](https://github.com/Backend-Modules/Hesabro-Bi-Dashboard)[ Packagist](https://packagist.org/packages/hesabro-modules/yii2-bi-dashboard)[ Docs](https://github.com/Sadi01/yii2-bi-dashboard)[ RSS](/packages/hesabro-modules-yii2-bi-dashboard/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (10)Versions (3)Used By (0)

 [ ![](https://raw.githubusercontent.com/Sadi01/yii2-bi-dashboard/master/src/img/yii.png) ](https://en.wikipedia.org/wiki/Business_intelligence) [ ![](https://raw.githubusercontent.com/Sadi01/yii2-bi-dashboard/master/src/img/BI.png) ](https://en.wikipedia.org/wiki/Business_intelligence)

Business intelligence dashboard for Yii 2
=========================================

[](#business-intelligence-dashboard-for-yii-2)

Bidashboard
===========

[](#bidashboard)

**Bidashboard** is a data visualization dashboard designed to provide insights into key metrics and data for business intelligence purposes. It allows users to monitor and analyze various aspects of their business in real-time through interactive charts and graphs.

This extension provides the Business Intelligence Dashboard for the [Yii framework 2.0](http://www.yiiframework.com).

For license information check the [LICENSE](LICENSE.md)-file.

Installation
------------

[](#installation)

### Using Composer (Preferred Method):

[](#using-composer-preferred-method)

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

```
composer require --prefer-dist sadi01/yii2-bi-dashboard:"*"

```

### Alternative Method:

[](#alternative-method)

If you prefer adding the bidashboard extension to your `composer.json` file manually, you can do so by adding the following entry to the `require` section:

```
{
  "require": {
    "sadi01/yii2-bi-dashboard": "*"
  }
}
```

After adding the entry, save the `composer.json` file and run the following command in the terminal or command prompt within your project directory:

```
composer update

```

This command will fetch and install the bidashboard extension and its required dependencies into your Yii 2 project.

Configuration
-------------

[](#configuration)

To use this extension, you have to configure the bidashboard module in your application configuration:

```
return [
    //....
    'modules' => [
        'bidashboard' => [
            'class' => 'sadi01\bidashboard\Module',
        ],
    ]
];
```

Env
---

[](#env)

You have to add the database configuration to env, its example is in - [Env.example](./src/env-config/.env.example)

DB Migrations
-------------

[](#db-migrations)

Run module migrations:

```
php yii migrate --migrationPath=@sadi01/bidashboard/migrations
```

Or, Add migrations path in console application config:

```
'controllerMap' => [
    'migrate' => [
        'class' => 'yii\console\controllers\MigrateController',
        'migrationNamespaces' => [],
        'migrationPath' => [
            '@vendor/sadi01/yii2-bi-dashboard/src/migrations',
            '@app/migrations'
        ]
    ],
],
```

How To Use
----------

[](#how-to-use)

add to view model:

```
use sadi01\bidashboard\widgets\ReportModalWidget;

```

add to search model:

```
public function searchWidget(array $params,int $rangeType,int $startRange,int $endRange)
{
    $query = Invoice::find();
    $dataProvider = new ActiveDataProvider([
        'query' => $query,
    ]);
    $this->load($params, '');
    $query->andFilterWhere(['between', 'created_at', $startRange, $endRange]);
    if ($rangeType == ReportWidget::RANGE_TYPE_MONTHLY) {
    ...
     }
    elseif ($rangeType == ReportWidget::RANGE_TYPE_DAILY) {
    ...
    }
    return $dataProvider;
}
```

Advanced config
---------------

[](#advanced-config)

- [Installation Guide](./src/guide/installation.md)
- [Description Guide](./src/guide/description.md)
- [Usage Guide](./src/guide/usage.md)
- [Access Control Guide (RBAC)](./src/guide/rbac.md)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~0 days

Total

2

Last Release

577d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ba5e52e4fd5bca201f3d01aa4bdd9e72373905b5b6223738e6e445cb28a1074?d=identicon)[hesabro](/maintainers/hesabro)

---

Top Contributors

[![baghaee-sr](https://avatars.githubusercontent.com/u/20843058?v=4)](https://github.com/baghaee-sr "baghaee-sr (208 commits)")[![fdaei](https://avatars.githubusercontent.com/u/81993335?v=4)](https://github.com/fdaei "fdaei (141 commits)")[![Sadi01](https://avatars.githubusercontent.com/u/8774917?v=4)](https://github.com/Sadi01 "Sadi01 (94 commits)")[![mohsensaeidi](https://avatars.githubusercontent.com/u/36434064?v=4)](https://github.com/mohsensaeidi "mohsensaeidi (31 commits)")[![pakzad199](https://avatars.githubusercontent.com/u/76616567?v=4)](https://github.com/pakzad199 "pakzad199 (4 commits)")[![MamadAliGit](https://avatars.githubusercontent.com/u/70506682?v=4)](https://github.com/MamadAliGit "MamadAliGit (2 commits)")[![MohsenSaeidiDev](https://avatars.githubusercontent.com/u/150667549?v=4)](https://github.com/MohsenSaeidiDev "MohsenSaeidiDev (2 commits)")[![alma-pourhosseini](https://avatars.githubusercontent.com/u/149299838?v=4)](https://github.com/alma-pourhosseini "alma-pourhosseini (1 commits)")[![hesabro](https://avatars.githubusercontent.com/u/180918219?v=4)](https://github.com/hesabro "hesabro (1 commits)")

---

Tags

frameworkyii2extensiondashboardbusiness intelligenceBI

### Embed Badge

![Health badge](/badges/hesabro-modules-yii2-bi-dashboard/health.svg)

```
[![Health](https://phpackages.com/badges/hesabro-modules-yii2-bi-dashboard/health.svg)](https://phpackages.com/packages/hesabro-modules-yii2-bi-dashboard)
```

###  Alternatives

[skeeks/cms

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

13825.6k47](/packages/skeeks-cms)

PHPackages © 2026

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