yii2-excel

ActiveRecord import and export based on PHPExcel for Yii 2 framework

  • 所有者: arogachev/yii2-excel
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Yii 2 Excel

ActiveRecord import and export based on PHPExcel for Yii 2 framework.

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.

The important notes:

  • 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

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"arogachev/yii2-excel": "*"

to the require section of your composer.json file.

Running import

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

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

主要指标

概览
名称与所有者arogachev/yii2-excel
主编程语言PHP
编程语言PHP (语言数: 2)
平台
许可证Other
所有者活动
创建于2015-04-12 05:57:40
推送于2019-10-10 13:47:23
最后一次提交2017-02-21 11:15:11
发布数2
最新版本名称0.1.1 (发布于 )
第一版名称0.1.0 (发布于 )
用户参与
星数64
关注者数12
派生数25
提交数42
已启用问题?
问题数44
打开的问题数27
拉请求数1
打开的拉请求数3
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?