PHPackages                             serrg1994/yii2-csv-export - 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. serrg1994/yii2-csv-export

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

serrg1994/yii2-csv-export
=========================

Export data to CSV file

21.2k1[1 issues](https://github.com/serrg1994/yii2-csv-export/issues)PHP

Since Apr 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/serrg1994/yii2-csv-export)[ Packagist](https://packagist.org/packages/serrg1994/yii2-csv-export)[ RSS](/packages/serrg1994-yii2-csv-export/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Export array data to csv file
=============================

[](#export-array-data-to-csv-file)

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

[](#installation)

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

```
php composer.phar require serrg1994/yii2-csv-export "@dev"

```

or add

```
"serrg1994/yii2-csv-export": "@dev"
```

to the require section of your composer.json.

Usage
-----

[](#usage)

```
CSVExport::Export([
    'dirName' => Yii::getAlias('@webroot'),
    'fileName' => 'users.csv',
    'data' => [
        ['#', 'User Name', 'Email'],
        ['1', 'Serhiy Novoseletskiy', 'novoseletskiyserhiy@gmail.com']
    ]
]);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3233239f0a23f7bd3d3fc273ff11b731a071f1be039a878d6b7224b1f6790053?d=identicon)[serrg1994](/maintainers/serrg1994)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/serrg1994-yii2-csv-export/health.svg)

```
[![Health](https://phpackages.com/badges/serrg1994-yii2-csv-export/health.svg)](https://phpackages.com/packages/serrg1994-yii2-csv-export)
```

PHPackages © 2026

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