PHPackages                             divad942/yii2-excel - 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. divad942/yii2-excel

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

divad942/yii2-excel
===================

ActiveRecord import and export based on PHPExcel for Yii 2 framework

0.1.5(7y ago)0145BSD-3-ClausePHP

Since May 16Pushed 7y ago1 watchersCompare

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

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

Yii 2 Excel
===========

[](#yii-2-excel)

This is fork of

Fixed compatibility issues with PHP 7.2

ActiveRecord import and export based on PHPExcel for Yii 2 framework.

- [Installation](#installation)
- [Import Basics](docs/import-basics.md)
- [Basic import](docs/import-basic.md)
- [Advanced import](docs/import-advanced.md)
- [Running import](#running-import)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist divad942/yii2-excel

```

or add

```
"divad942/yii2-excel": "*"

```

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

Running import
--------------

[](#running-import)

```
if (!$importer->run()) {
    echo $importer->error;

    if ($importer->wrongModel) {
        echo Html::errorSummary($importer->wrongModel);
    }
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.2% 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 ~259 days

Recently: every ~215 days

Total

6

Last Release

2720d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f54ad40e7afa95722d100493d45da46162d3f91122d747f222fe0029ae607640?d=identicon)[divad942](/maintainers/divad942)

---

Top Contributors

[![arogachev](https://avatars.githubusercontent.com/u/8326201?v=4)](https://github.com/arogachev "arogachev (41 commits)")[![davidbaselj](https://avatars.githubusercontent.com/u/7064170?v=4)](https://github.com/davidbaselj "davidbaselj (5 commits)")[![psfpro](https://avatars.githubusercontent.com/u/5456984?v=4)](https://github.com/psfpro "psfpro (1 commits)")

---

Tags

exportexcelimportPHPExcelyii2active-record

### Embed Badge

![Health badge](/badges/divad942-yii2-excel/health.svg)

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

###  Alternatives

[arogachev/yii2-excel

ActiveRecord import and export based on PHPExcel for Yii 2 framework

6480.3k1](/packages/arogachev-yii2-excel)[moonlandsoft/yii2-phpexcel

Exporting PHP to Excel or Importing Excel to PHP

1491.1M16](/packages/moonlandsoft-yii2-phpexcel)[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)
