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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?