nope7777 / xlsx-writer
XLSXWriter - lightweight library for generating large Excel exports fast and without memory overflow.
Installs: 142 535
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.0|^8.0
This package is auto-updated.
Last update: 2025-04-10 12:24:27 UTC
README
XLSXWriter is lightweight library for generating large Excel exports fast and without memory overflow.
Documentation
Usage example:
use XLSXWriter\Workbook; $workbook = new Workbook(); $workbook->getDefaultStyle() ->setFontName('Arial') ->setFontSize(9); $sheet = $workbook->addSheet('Sheet title'); $sheet->addRow( ['Person', 'Company', 'Amount'], $workbook->getNewStyle()->setFontBold(true) ); $sheet->skipRows(2); $sheet->addRows([ ['User1', 'Company1', 100], ['User2', 'Company2', 200], ['User3', 'Company3', 300], ]); $workbook->output('some-export.xlsx');