How to use PHPExcel external library with Yii
Trying to learn and help some other programmers to find their solutions on the [Yii Forum](http://www.yiiframework.com/forum "Yii Forum") (I think is a superb way to learn the framework), I was facing one challenge with an external library that a fellow programmer wanted to use -quite good indeed: [PHPExcel](http://phpexcel.codeplex.com/
"PHPExcel"). And what is PHPExcel?
<h4>PHPExcel - OpenXML - Create Excel2007 documents in PHP - Spreadsheet engine</h4>
See the documentation of [spl_autoload_register](http://
php.net/manual/en/function.spl-autoload-register.php) for a description of these parameters.
This post is using PHPExcel external library as an example, but this procedure should be taken into account when we encounter a problem like this. Whenever you find a library that you wish to include in your Yii application, check out its autoloading functions first.