PHPExcel class not found in Zend Autoloader

Create an autoloader for PHPExcel and add it to the Zend autoloader stack. In library/My/Loader/Autoloader/PHPExcel.php: class My_Loader_Autoloader_PHPExcel implements Zend_Loader_Autoloader_Interface { public function autoload($class) { if (‘PHPExcel’ != $class){ return false; } require_once ‘PHPExcel.php’; return $class; } } And in application/configs/application.ini: autoloadernamespaces[] = “My_” Then, in application/Bootstrap.php: protected function _initAutoloading() { $autoloader = Zend_Loader_Autoloader::getInstance(); $autoloader->pushAutoloader(new My_Loader_Autoloader_PHPExcel()); … Read more