phpoffice/phpspreadsheet
PhpSpreadsheet is a pure-PHP library for reading and writing spreadsheet files (Excel, LibreOffice Calc, and more). Create, edit, and export workbooks with rich formatting, formulas, and multiple formats via a clean, well-documented API.
To make managing and analyzing a group of related data easier, you can turn a range of cells into an Excel table (previously known as an Excel list).
Currently tables are supported in Xlsx reader and Html Writer
To enable table formatting for Html writer, use:
$writer = new HtmlWriter($spreadsheet);
$writer->setConditionalFormatting(true);
How can I help you explore Laravel packages today?