'); date_default_timezone_set('Europe/London'); /** Include PHPExcel */ require_once dirname(__FILE__) . '/../src/Bootstrap.php'; if (!file_exists("05featuredemo.xlsx")) { exit("Please run 05featuredemo.php first." . EOL); } $inputFileName = "05featuredemo.xlsx"; $inputFileType = \PHPExcel\IOFactory::identify($inputFileName); $objReader = \PHPExcel\IOFactory::createReader($inputFileType); $sheetList = $objReader->listWorksheetNames($inputFileName); $sheetInfo = $objReader->listWorksheetInfo($inputFileName); echo 'File Type:', PHP_EOL; var_dump($inputFileType); echo 'Worksheet Names:', PHP_EOL; var_dump($sheetList); echo 'Worksheet Names:', PHP_EOL; var_dump($sheetInfo);