how can I integrate the PHPExcel into my Zend app.
My actual folder structure is the following:
/application
controllers
views
etc...
/library
My
Zend
PHPExcel
/public
index.php
I already include 'My' libs by using (in index.php):
require_once 'Zend/Loader/Autoloader.php';
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->registerNamespace('My_');
Now I also want to use PHPExcel inside one of my controllers like:
$exc = PHPExcel_IOFactory::load('test.xls');
$excelWorksheet = $exc->getActiveSheet();
What do I have to do to make it work and get rid of the Class 'PHPExcel_IOFactory' not found
Exception?
Thank you.
-lony
P.S.: A simple $autoloader->registerNamespace('PHPExcel_');
is not working. I tested it.