Login  |  Packages  |  Support  |  Bugs
PECL is deprecated.

Have you heard about PIE? 🥧 PHP Installer for Extensions (PIE) is the replacement for PECL. We recommend publishing your extension using PIE instead.

Find out more at https://github.com/php/pie.

Top Level :: File Formats :: xlswriter :: 3.0.0 :: Windows

xlswriter 3.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 3.0.0
(stable)
- Feature: formula calculation. evaluateFormula(string $formula) evaluates an Excel formula and returns its result — operator precedence and arithmetic, cell and range references (A1, A1:A3) resolved against the values already written, aggregates (SUM / AVERAGE / MIN / MAX / COUNT / COUNTA), and logical/text functions (IF, CONCATENATE, UPPER, LEN, ...), with Excel error values (#DIV/0!, #NUM!, ...) surfaced as strings. computeFormula(bool $enable = true) opts the workbook into caching, so insertFormula() writes the computed <v> result into the file and other readers see the value without recalculating.
- Feature: round-trip editing of an existing workbook. openFile() a saved .xlsx and change it in place — cell values, styles, merged ranges, dates and sheet dimensions — add new worksheets, and insert images and charts into the opened workbook, then output() the result. The existing write methods (insertText / insertImage / insertChart / mergeCells / setRow / addSheet, ...) work unchanged in edit mode; unsupported edit operations are now reported instead of being silently dropped.
- Performance: normal-mode (non constant_memory) export is about 27% faster with roughly 18% lower peak memory; the constant_memory streaming path gained an integer fast-path that skips float formatting for whole-number cells.
- Fix: the reader returned 0 for negative or zero decimals read through nextCellCallback (the numeric branch was selected on the sign of the value instead of its parsed type); negative and fractional values now read back correctly.
- Fix: locale independence. Numbers are written and parsed with a '.' decimal point regardless of the host LC_NUMERIC, so using the extension under a ','-decimal locale (for example after setlocale(LC_ALL, 'de_DE')) no longer corrupts written values or misreads cell values, row heights, column widths and font sizes.
- Fix: the formula engine is hardened against malformed or hostile input passed to evaluateFormula — deeply nested or over-long expressions can no longer overflow the stack, and an oversized range aggregate such as SUM(A1:XFD1048576) returns #NUM! instead of hanging.
- Fix: numerous memory-safety and robustness corrections across the reader, the edit path and XML output, including NULL-dereference guards on allocation failure.
- Note: 3.0.0 is a major release — the reader and writer now share a single unified core alongside the new formula and round-trip editing engines above. All existing class methods, signatures and Excel::* / Format::* constant values are unchanged, so upgrading requires no code changes.
 
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 3.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 Jun 17 13:08:36 2026 UTC
Bandwidth and hardware provided by: pair Networks