Skip to content

Instantly share code, notes, and snippets.

@tuckbloor
Last active November 18, 2021 23:17
Show Gist options
  • Save tuckbloor/b881646ab820f5f5c3459f5748d116d6 to your computer and use it in GitHub Desktop.
Save tuckbloor/b881646ab820f5f5c3459f5748d116d6 to your computer and use it in GitHub Desktop.
php excel to php office
src https://stackoverflow.com/questions/48122220/phpspreadsheet-where-is-phpexcel-worksheet-drawing
use PhpOffice\PhpSpreadsheet\Spreadsheet as spreadsheet; // instead PHPExcel
use PhpOffice\PhpSpreadsheet\Writer\Xlsx as xlsx; // Instead PHPExcel_Writer_Excel2007
use PhpOffice\PhpSpreadsheet\Worksheet\Drawing as drawing; // Instead PHPExcel_Worksheet_Drawing
use PhpOffice\PhpSpreadsheet\Style\Alignment as alignment; // Instead PHPExcel_Style_Alignment
use PhpOffice\PhpSpreadsheet\Style\Fill as fill; // Instead PHPExcel_Style_Fill
use PhpOffice\PhpSpreadsheet\Style\Color as color_; //Instead PHPExcel_Style_Color
use PhpOffice\PhpSpreadsheet\Worksheet\PageSetup as pagesetup; // Instead PHPExcel_Worksheet_PageSetup
use PhpOffice\PhpSpreadsheet\IOFactory as io_factory; // Instead PHPExcel_IOFactory
@tuckbloor
Copy link
Author

Screenshot 2021-10-27 at 20 34 29

@tuckbloor
Copy link
Author

Screenshot 2021-10-31 at 20 50 30

@tuckbloor
Copy link
Author

Screenshot 2021-10-31 at 21 15 43

@tuckbloor
Copy link
Author

Screenshot 2021-11-18 at 23 16 19

Screenshot 2021-11-18 at 23 15 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment