I am trying to create a PHPExcel library in an application built with the Kohana framework .
In a test application outside the Kohana framework, I can perfectly create and read Excel files.
And inside the Kohana application, creating the file works:
$objPHPExcel = new PHPExcel();
$objPHPExcel->getProperties()->setCreator("Test Generator")
->setTitle("Test Excel5 File");
$objPHPExcel->setActiveSheetIndex(0)->setCellValue('A1', 'Hello');
$objPHPExcel->getActiveSheet()->setTitle('Test Sheet');
$objPHPExcel->setActiveSheetIndex(0);
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');
$objWriter->save('test123.xls');
However, when inside the Kohana structure, when I try to read a file using this code:
$objReader = PHPExcel_IOFactory::createReader('test123.xls');
I get this error :

How can I prevent PHPExcel / Kohana from trying to create a class name from an Excel file name?