2017 © Pedro Peláez
 

yii2-extension yii2-excel

ActiveRecord import and export based on PHPExcel for Yii 2 framework

image

arogachev/yii2-excel

ActiveRecord import and export based on PHPExcel for Yii 2 framework

  • Tuesday, February 21, 2017
  • by arogachev
  • Repository
  • 9 Watchers
  • 61 Stars
  • 25,790 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 15 Forks
  • 29 Open issues
  • 3 Versions
  • 13 % Grown

The README.md

Yii 2 Excel

ActiveRecord import and export based on PHPExcel for Yii 2 framework., (*1)

This library is mainly designed to import data, export is in the raw condition (even it's working in basic form), under development and not documented yet., (*2)

The important notes:, (*3)

  • It uses ActiveRecord models and PHPExcel library, so operating big data requires pretty good hardware, especially RAM. In case of memory shortage I can advise splitting data into smaller chunks.
  • This is not just a wrapper on some PHPExcel methods, it's a tool helping import data from Excel in human readable form with minimal configuration.
  • This is designed for periodical import.
  • The library is more effective when working with multiple related models and complex data structures.

Latest Stable Version Total Downloads Latest Unstable Version License, (*4)

Installation

The preferred way to install this extension is through composer., (*5)

Either run, (*6)

php composer.phar require --prefer-dist arogachev/yii2-excel

or add, (*7)

"arogachev/yii2-excel": "*"

to the require section of your composer.json file., (*8)

Running import

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

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

The Versions

21/02 2017

dev-master

9999999-dev https://github.com/arogachev/yii2-excel

ActiveRecord import and export based on PHPExcel for Yii 2 framework

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alexey Rogachev

yii2 excel export phpexcel import active record

23/07 2016

0.1.1

0.1.1.0 https://github.com/arogachev/yii2-excel

ActiveRecord import and export based on PHPExcel for Yii 2 framework

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alexey Rogachev

yii2 excel export phpexcel import active record

16/05 2015

0.1.0

0.1.0.0 https://github.com/arogachev/yii2-excel

ActiveRecord import and export based on PHPExcel for Yii 2 framework

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alexey Rogachev

yii2 excel export phpexcel import active record