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

ActiveYii2-extension

ericmaicon/yii2-export
======================

Just another yii2 export menu component.

1.0(10y ago)58110[1 PRs](https://github.com/ericmaicon/yii2-export/pulls)BSD-3-ClausePHP

Since Mar 16Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

Just another Yii2 Export Widget for Yii2
========================================

[](#just-another-yii2-export-widget-for-yii2)

[![Latest Version](https://camo.githubusercontent.com/7504a7202750c181740a79c552e558a74f2853385c512c9af9e266c8a4e53a85/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f657269636d6169636f6e2f796969322d6578706f72742e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://github.com/ericmaicon/yii2-export/tags)[![Build Status](https://camo.githubusercontent.com/3ca9ec25942ab988bebc5fd7fb3aedef79db1afd9542ef298f24b7b5e707e228/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f657269636d6169636f6e2f796969322d6578706f72742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ericmaicon/yii2-export)

The main purpose of this library is not replace [kartik-v/yii2-export](https://github.com/kartik-v/yii2-export). Kartik's one has a lot of features not implemented on this one.

This is a new yii2-export widget wrote from the scratch to improve performance.

The idea of this one appeared when PHPExcel doesn't fit to generate large excel files in a fast way. The first feature was dispatch reports to be generated in queues.

Not enough, another feature was replace PHPExcel with [spout](https://github.com/box/spout), successfully reducing the time consuming.

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

[](#installation)

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

Either run

```
$ composer require ericmaicon/yii2-export:*
```

or add

```
"ericmaicon/yii2-export": "*"

```

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

Usage
-----

[](#usage)

Using with the Grid:

```

```

To use Kartik's grid you will need to override renderExport method:

```
