eexcelwriter Simple export of dataproviders to xls files.

  1. Requirements
  2. Usage
  3. Resources

EExcelWriter is a component similar to EExcelView, but uses a different library to generate the excel files, leading speed improvements of up to 10 times.

The library used is , but with a part of it modified to work also on PHP 5.4.

The extension is a work-in-progress, for now it has basic functionality for generating the spreadsheets.


Yii 1.1 and above.


Paste the contents of the repository in your protected directory, make sure that you load components.EExcelWriter in your configuration file. Then simply call the widget in your view files like :

$this->widget('EExcelWriter', array(
    'dataProvider' => $model->search(),
    'title'        => 'EExcelWriter',
    'stream'       => FALSE,
    'fileName'     => 'file.xls',
    'columns'      => array(
            'header' => 'id',
            'name' => 'ID',


As stated, the component uses with some modifications to make it work on PHP 5.4.

Github page for the extension :

1 0
1 351 downloads
Yii Version: Unknown
License: LGPL-3.0
Category: Others
Developed by: Alexandru (Ascendro)
Created on: Jan 13, 2014
Last updated: 10 years ago


show all

Related Extensions