PHPackages                             custom-it/yii2-excel-report - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. custom-it/yii2-excel-report

ActiveYii2-extension[PDF &amp; Document Generation](/categories/documents)

custom-it/yii2-excel-report
===========================

An extension for generate excel file from GridView content

1.0.1(7y ago)381.9k13[1 issues](https://github.com/Custom-IT/excelreport/issues)BSD-3-ClausePHP

Since Jul 25Pushed 4y ago9 watchersCompare

[ Source](https://github.com/Custom-IT/excelreport)[ Packagist](https://packagist.org/packages/custom-it/yii2-excel-report)[ RSS](/packages/custom-it-yii2-excel-report/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

⛔

```
- !!! Library is deprecated !!!
```

⛔

 [ ![](https://avatars1.githubusercontent.com/u/31646762?s=200&v=4) ](https://custom-it.ru)

Yii2 ExcelReport Extension
==========================

[](#yii2-excelreport-extension)

An extension for generate excel file from GridView content. When used with a GridView, extention saves the results of filtering and sorting in a file. Everything you see in the GridView will be imported into a file. All tasks are run in the background, the user can check the progress with the progressbar. It is not necessary to remain on the current page during the execution. You can continue working with the application. When the file is created, the download link will remain on the page with the widget until it is used, the user can use it at any time. When the file is downloaded, you can start generating a new report.

**To run tasks in the background, the extension uses a [queues](https://github.com/yiisoft/yii2-queue).**

Use the extension only makes sense to generate large files (&gt; 50,000 lines).

[![Latest Stable Version](https://camo.githubusercontent.com/6b9afed0dabdaf498b08f8550bd6cbcc81a0910e67c7590ab89c8eacbb7b4d45/68747470733a2f2f706f7365722e707567782e6f72672f637573746f6d2d69742f796969322d657863656c2d7265706f72742f762f737461626c652e737667)](https://packagist.org/packages/custom-it/yii2-excel-report)[![Total Downloads](https://camo.githubusercontent.com/67093366426f4bf6c1a482f0e58d80a158f5c761fc60b09a3cbbff660b035dc8/68747470733a2f2f706f7365722e707567782e6f72672f637573746f6d2d69742f796969322d657863656c2d7265706f72742f646f776e6c6f6164732e737667)](https://packagist.org/packages/custom-it/yii2-excel-report)

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

[](#installation)

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

Either run

```
php composer require --prefer-dist custom-it/yii2-excel-report

```

or add

```
"custom-it/yii2-excel-report": "*"

```

to the require section of your `composer.json` file.

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

[](#configuration)

Before using the module, configure the [queues](https://github.com/yiisoft/yii2-queue/blob/master/docs/guide/README.md)

Add progress behavior to Queue configuration:

```
'queue' => [
    // ... you Queue configuration ...
    'as progress' => \customit\excelreport\ProgressBehavior::class,
],
```

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
$gridColumns = [
    ['class' => 'yii\grid\SerialColumn'],
    'id',
    'name',
    'date',
    'post',
    ['class' => 'yii\grid\ActionColumn'],
];

// Render widget
echo \customit\excelreport\ExcelReport::widget([
    'columns' => $gridColumns,
    'dataProvider' => $dataProvider,
]);

// Can be used with or without a GridView
echo GridView::widget([
    'dataProvider' => $dataProvider,
    'filterModel' => $searchModel,
    'columns' => $gridColumns
]);
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~16 days

Total

2

Last Release

2832d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/37d8991f70d1ebfbce6132501a4a76146d871d75bd66b63a5e751d8f458fcea1?d=identicon)[zodiac63](/maintainers/zodiac63)

---

Top Contributors

[![zodiac163](https://avatars.githubusercontent.com/u/13050296?v=4)](https://github.com/zodiac163 "zodiac163 (1 commits)")

---

Tags

excelreportyii2extensionexcelreport

### Embed Badge

![Health badge](/badges/custom-it-yii2-excel-report/health.svg)

```
[![Health](https://phpackages.com/badges/custom-it-yii2-excel-report/health.svg)](https://phpackages.com/packages/custom-it-yii2-excel-report)
```

###  Alternatives

[moonlandsoft/yii2-phpexcel

Exporting PHP to Excel or Importing Excel to PHP

1491.1M16](/packages/moonlandsoft-yii2-phpexcel)[ruskid/yii2-csv-importer

Helper to import csv files into database

37356.4k4](/packages/ruskid-yii2-csv-importer)[arogachev/yii2-excel

ActiveRecord import and export based on PHPExcel for Yii 2 framework

6480.3k1](/packages/arogachev-yii2-excel)[phpnt/yii2-export

Yii2 It saves data in xls, csv, word, html, pdf files.

158.9k](/packages/phpnt-yii2-export)

PHPackages © 2026

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