divad942 / yii2-excel
ActiveRecord import and export based on PHPExcel for Yii 2 framework
Installs: 145
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 25
Type:yii2-extension
Requires
- phpoffice/phpexcel: 1.8.*
- yiisoft/yii2: >=2.0.13
Requires (Dev)
- yiisoft/yii2-codeception: ~2.0
README
This is fork of https://github.com/arogachev/yii2-excel
Fixed compatibility issues with PHP 7.2
ActiveRecord import and export based on PHPExcel for Yii 2 framework.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist divad942/yii2-excel
or add
"divad942/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); } }