NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2696 most downloaded on Packagist
Export data to Excel XLSx file. PHP XLSX generator.
Last release 5 months ago
03 May 2026
Ships fairly regularly
a new release about every 3 months
Most releases are documented
notes for 49 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
64 releases · first in 2020
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
* tag ` ` for styled raw values
<raw> for styled raw values* hyperlinks to local files * num2name static now
added SimpleXLSXGen::create($title = null) to create empty book with title
title.xslx or curdate.xlsxforce little endian numbers in zip headers
Nothing published for this version
* simple linebreaks
fixed issue 128 date2excel type cast
preserve leading or traling spaces
added meta: setTitle, setSubject, setAuthor, setCompany, setManager, setKeywords, setDescription, setCategory, setApplication, setLastModifiedBy. Thx
fixed "This action doesn't work on multiple selection" error
`$xlsx->rightToLeft()` - RTL mode. Column A is on the far right, Column B is one column left of Column A, and so on. Also, information in cells is dis
$xlsx->rightToLeft() - RTL mode. Column A is on the far right, Column B is one column left of Column A, and so on. Also, information in cells is displayed in the Right to Left format.` Big Text ` - font size in cells, thx Andrew Robinson
<style font-size="32">Big Text</style> - font size in cells, thx Andrew RobinsonfreezePanes( corner_cell ) - freezePanes to keep an area of a worksheet visible while you scroll, corner_cell is not included, thx Javier
added borders ` Black Border ` see colored examples
<style border="medium">Black Border</style> see colored examples<f v="100">SUM(B1:B10)</f> see examples<a href="sheet2!A1">Go to page 2</a><style nf=""£"#,##0.00">500</style>$data = [ ['$100.23', '2000.00 €', '1200.30 ₽'] ];added autoFilter( $range ) `php $xlsx->autoFilter('A2:B10'); `
autoFilter( $range )$xlsx->autoFilter('A2:B10');
0% bugadded wrap words in long strings long long line
<wraptext>long long line</wraptext>added example JS array to Excel (AJAX)
setColWidth(num_col_started_1, size_in_chars) - set column width
Vertical align (tags top,middle,bottom) 12345
<bottom>12345</bottom>Row height Custom row height 50
<style height="50">Custom row height 50</style>Added colors Yellow text on blue background , thx mrjemson
<style color="#FFFF00" bgcolor="#00FF00">Yellow text on blue background</style>, thx mrjemsonAdded $xlsx->mergeCells('A1:C1')
$xlsx->mergeCells('A1:C1')sheet name maximum length is 31 chars, mb_substr used now
namespace added, use Shuchkin\SimpleXLSXGen
fixed dates if year < 1900 and time only cells, thx fapth
Escape \x00 and \x0B (vertical tab)
Fixed saveAs / downloadAs / etc methods more than once
Fixed sheet names duplicates (Page, Page (1), Page (2)...)
* Fixed sheet names duplicates
* Fixed email regex
* Fixed " and & in sheets names
* Fixed "&" in hyperlinks
Fixed *mailto* hyperlinks detection
Added *mailto* hyperlinks support (thx Howard Martin) `php SimpleXLSXGen::fromArray([ ['Mailto hyperlink', ' Please email me '] ])->saveAs('test.xlsx'
SimpleXLSXGen::fromArray([
['Mailto hyperlink', '<a href="mailto:sergey.shuchkin@gmail.com">Please email me</a>']
])->saveAs('test.xlsx');
Fixed hyperlinks in several sheets
* Fixed hyperlink regex
Fixed 0.00% format, thx marcrobledo, more examples in README.md
Added hyperlinks and minimal formatting
Stable release
Added PHP Datetime object values in a cells
* Percent support
* Fix local floats in XML
Added multiple sheets support, thx Savino59, class ready for extend now
* Updated images
Disable type detection if string started with chr(0)
Numbers like SKU right aligned now
Fixed fast shared strings index
Fixed real numbers in 123.45 format detection, fast shared strings index (thx fredriksundin)
Fixed time detection in HH:MM:SS format
Escape of shared strings for special chars in cells #1
Fixed num2name A-Z,AA-AZ column names, thx Ertan Yusufoglu
Your coding agent can read these notes before it upgrades. Set up the MCP server →