PHPackages                             yii2tech/csv-grid - 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. yii2tech/csv-grid

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

yii2tech/csv-grid
=================

Yii2 extension data export to CSV file

1.0.5(6y ago)871.2M↓20.6%214BSD-3-ClausePHP

Since Jun 3Pushed 6y ago6 watchersCompare

[ Source](https://github.com/yii2tech/csv-grid)[ Packagist](https://packagist.org/packages/yii2tech/csv-grid)[ GitHub Sponsors](https://github.com/klimov-paul)[ Patreon](https://www.patreon.com/klimov_paul)[ RSS](/packages/yii2tech-csv-grid/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (7)Used By (4)

 [ ![](https://avatars2.githubusercontent.com/u/12951949) ](https://github.com/yii2tech)

CSV Data Export extension for Yii2
==================================

[](#csv-data-export-extension-for-yii2)

This extension provides ability to export data to CSV file.

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

[![Latest Stable Version](https://camo.githubusercontent.com/20c3c2e92009573db9d268fedb50d8de9b5e997846328270f2e595b9a9ac78df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79696932746563682f6373762d677269642e737667)](https://packagist.org/packages/yii2tech/csv-grid)[![Total Downloads](https://camo.githubusercontent.com/65d7e930057ffe2291cb3b8ff7c5846c4c18eca4c0da420bd1a75cb4bc692ffc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79696932746563682f6373762d677269642e737667)](https://packagist.org/packages/yii2tech/csv-grid)[![Build Status](https://camo.githubusercontent.com/ff1d5d77c31200809cadb89a1db07e33fb75005b3e68fdbb38e246e6d3650ff1/68747470733a2f2f7472617669732d63692e6f72672f79696932746563682f6373762d677269642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yii2tech/csv-grid)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist yii2tech/csv-grid

```

or add

```
"yii2tech/csv-grid": "*"
```

to the require section of your composer.json.

Usage
-----

[](#usage)

This extension provides ability to export data to CSV file. Export is performed via `\yii2tech\csvgrid\CsvGrid` instance, which provides interface similar to `\yii\grid\GridView` widget.

Example:

```
