Yii wrapper for PHPExcel
PHP
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
README.md Update README.md Mar 19, 2014
XPHPExcel.php

README.md

yii-phpexcel

Wrapper for the PHPExcel library.

Installation:

  1. Unzip the contents of this directory to protected/extensions/phpexcel
  2. Download the latest version of PHPExcel: https://github.com/PHPOffice/PHPExcel/tags
  3. Unzip the contents of the folder Classes to a new folder protected/extensions/phpexcel/vendor

Usage:

Yii::import('ext.phpexcel.XPHPExcel');		
$phpExcel = XPHPExcel::createPHPExcel();

Or if you don't want a PHPExcel object:

Yii::import('ext.phpexcel.XPHPExcel');		
XPHPExcel::init();

Troubleshooting

Q: Error message: "include(PHPExcel_Style_Supervisor.php) [function.include]: failed to open stream: No such file or directory" A: https://github.com/marcovtwout/yii-phpexcel/issues/3#issuecomment-38112059