Login  |  Packages  |  Support  |  Bugs
Top Level :: File Formats :: xlswriter :: 2.0.0 :: Windows

xlswriter 2.0.0 for Windows

Package Information
Summary Efficient and fast xlsx file extension.
Maintainers Wang Jiexin < wjx at php dot net > (lead) [details]
License BSD license
Description xlswriter is a PHP C Extension that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.

Writer

- 100% compatible Excel XLSX files.
- Full Excel formatting.
- Merged cells.
- Defined names.
- Autofilters.
- Charts.
- Data validation and drop down lists.
- Worksheet PNG/JPEG images.
- Memory optimization mode for writing large files.
- Works on Linux, FreeBSD, OpenBSD, OS X, Windows.
- Compiles for 32 and 64 bit.
- FreeBSD License.
- The only dependency is on zlib.

Reader

- Full read data
- Cursor read data
- Read by data type
- Xlsx to csv
Homepage https://github.com/viest/php-ext-xlswriter
Release notes
Version 2.0.0
(stable)
- Refactor: replaced libxlsxio dependency with the in-tree libxlsxreader (PHP-agnostic C library, lives under library/libxlsxreader/).
- Reader: shared-strings table now supports both FULL and STREAMING modes; FSM-driven worksheet parser with 64KB XML buffer; honors 1900 vs 1904 date systems via workbook.xml.
- Reader: PHP API (openFile/openSheet/nextRow/nextCellCallback/getSheetData/setType/setGlobalType/setSkipRows/putCSV/putCSVCallback) is fully backward compatible.
- Reader: surface sheet-level metadata — getMergedCells, getHyperlinks, getSheetProtection, getRowOptions/getColumnOptions, getDefaultRowHeight/getDefaultColumnWidth, getDefinedNames, sheetListWithMeta.
- Reader: surface page setup, rich-text runs, comments, charts, and conditional formats — getPageSetup, nextRowRich, iterateImages, iterateComments, iterateCharts, getConditionalFormats.
- Reader: full formula attributes (next-row-with-formula), data validations (getDataValidations), autofilter (getAutoFilter); new static helper Excel::getFormulaAst() for tokenizing formulas without evaluation.
- Reader: getStyleFormat resolves a style id to a rich array of font/fill/border/alignment/protection.
- Writer: conditional formats (Vtiful\Kernel\ConditionalFormat + conditionalFormatCell/Range).
- Writer: Excel tables (Vtiful\Kernel\Table + addTable).
- Writer: page setup — setHeader/setFooter, repeatRows/repeatColumns, printArea, horizontalPageBreaks/verticalPageBreaks, fitToPages, setTabColor.
- Writer: workbook properties — setProperties, setCustomProperty.
- Writer: defined names — defineName (workbook- and sheet-scoped).
- Writer: insertCommentOpt, insertImageBuffer, setBackgroundImage/Buffer, insertRichText.
- Format: borderColorOfTheFourSides, borderOfTheFourSides, indent, rotation, locked/unlocked/hidden cell protection.
- Fix: setBackgroundImage / setBackgroundImageBuffer now bundle the referenced media inside the xlsx (the sheet's picture relationship pointed at a media file that was never written).
- Fix: setHeader/setFooter with image_left/image_center/image_right options now produces a valid xlsx (header VML drawing and content-type registration were missing, making the output unopenable).
- New constants: Excel::COMMENT_DISPLAY_DEFAULT / HIDDEN / VISIBLE so insertCommentOpt(['visible' => …]) callers don't have to guess libxlsxwriter's lxw_comment_display enum.
- Build: feature-flagged reader (--disable-reader produces a write-only build); minizip is shared between writer and reader.
- Update libxlsxwriter from 1.1.3 to 1.1.6.
 
DLL List
PHP 8.5 8.5 Non Thread Safe (NTS) x64
8.5 Thread Safe (TS) x64
8.5 Non Thread Safe (NTS) x86
8.5 Thread Safe (TS) x86
PHP 8.4 8.4 Non Thread Safe (NTS) x64
8.4 Thread Safe (TS) x64
8.4 Non Thread Safe (NTS) x86
8.4 Thread Safe (TS) x86
PHP 8.3 8.3 Non Thread Safe (NTS) x64
8.3 Thread Safe (TS) x64
8.3 Non Thread Safe (NTS) x86
8.3 Thread Safe (TS) x86
PHP 8.2 8.2 Non Thread Safe (NTS) x64
8.2 Thread Safe (TS) x64
8.2 Non Thread Safe (NTS) x86
8.2 Thread Safe (TS) x86
PHP 8.1 8.1 Non Thread Safe (NTS) x64
8.1 Thread Safe (TS) x64
8.1 Non Thread Safe (NTS) x86
8.1 Thread Safe (TS) x86
PHP 8.0 8.0 Non Thread Safe (NTS) x64
8.0 Thread Safe (TS) x64
8.0 Non Thread Safe (NTS) x86
8.0 Thread Safe (TS) x86
PHP 7.4 7.4 Non Thread Safe (NTS) x64
7.4 Thread Safe (TS) x64
7.4 Non Thread Safe (NTS) x86
7.4 Thread Safe (TS) x86
PHP 7.3 7.3 Non Thread Safe (NTS) x64
7.3 Thread Safe (TS) x64
7.3 Non Thread Safe (NTS) x86
7.3 Thread Safe (TS) x86
PHP 7.2 7.2 Non Thread Safe (NTS) x64
7.2 Thread Safe (TS) x64
7.2 Non Thread Safe (NTS) x86
7.2 Thread Safe (TS) x86

In case of missing DLLs, consider to contact the Windows Internals List (subscribe first).


[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source ] [ Package Bugs ] [ View Documentation ]

Dependencies for release 2.0.0
PHP Version: PHP 7.0.0 or newer
PEAR Package: PEAR 1.10.1 or newer
PRIVACY POLICY  |  CREDITS
Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed May 20 12:00:02 2026 UTC
Bandwidth and hardware provided by: pair Networks