How to save excel file using phpexcel
问题 I am writing some code to open an excel file then creating a new column and appending the data from column 2 to column 1. However the file is not saving. I am loading this data in my local Wamp. The project is in Laravel // create new file with results $date = new \DateTime(); // create new file with results $date = new \DateTime(); $directory = base_path() . '/storage/tmp/'; /** Load $inputFileName to a PHPExcel Object **/ $objPHPExcel = PHPExcel_IOFactory::load($inputFileName); foreach (