NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #448 most downloaded on Packagist
Convert an array to xml
Last release 9 months ago
15 Dec 2025
Release timing varies
gaps range from 2 weeks to 11 months
Most releases are documented
notes for 46 of 54 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
54 releases · first in 2015
Ignore empty or null comment values by @dimitri-koenig in #249
Full Changelog: 3.4.3...3.4.4
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.4.3...3.4.4
One column per quarter.
Allow _value content to be numeric by @dimitri-koenig in #248
Full Changelog: 3.4.2...3.4.3
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.4.2...3.4.3
Extend comments feature for multiple comments by @dimitri-koenig in #246
Full Changelog: 3.4.1...3.4.2
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.4.1...3.4.2
Replace array access with foreach value by @xHeaven in #236
Full Changelog: 3.4.0...3.4.1
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.4.0...3.4.1
Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in #232
Full Changelog: 3.3.0...3.4.0
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.3.0...3.4.0
Update README.md by @trippo in #229
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.2.3...3.3.0
Add proper boolean conversion to xml representation by @radeno in #228
Full Changelog: 3.2.2...3.2.3
Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #224
Full Changelog: 3.2.1...3.2.2
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.2.1...3.2.2
Bump actions/checkout from 3 to 4 by @dependabot in #222
Full Changelog: 3.2.0...3.2.1
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.2.0...3.2.1
Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in #217
Full Changelog: 3.1.6...3.2.0
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.6...3.2.0
V3 - Code smell ('incorrect' method call) by @ExeQue in https://github.com/spatie/array-to-xml/pull/208
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.5...3.1.6
fix deprecated passing null as string type by @trin4ik in https://github.com/spatie/array-to-xml/pull/204
passing null as string type by @trin4ik in https://github.com/spatie/array-to-xml/pull/204Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.4...3.1.5
PHP 8.2 support by @SuperDJ in https://github.com/spatie/array-to-xml/pull/194
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.3...3.1.4
Nothing published for this version
Nothing published for this version
Nothing published for this version
add support for processing instructions
allow null inside array to be converted to xml
- require PHP 8+ - drop support for PHP 7.x - convert syntax to PHP 8
Nothing published for this version
Nothing published for this version
add escapable colons in custom keys
- add support for PHP 8
add $xmlStandalone as a new parameter
add support for dropping XML declaration
- add support for custom keys
- add XML prettification
Nothing published for this version
fix XML structure when using numeric keys
do not interpret "0" as a non-empty value
- drop support for PHP 7.1
- add setDomProperties
setDomProperties- add support for numeric keys
- fix tests - drop support for PHP 7.0
added support for mixed content
fix for DomExeceptions being thrown
DomExeceptions being thrown- remove control characters
- fix setting attributes
allow wrapping data in a CDATA section
add fix for multiple empty/self-closing child elements
add support for naming a root element and adding properties to it
avoid pulling in the snapshot package on install
allow encoding and version to be set
attributes and value can be set in SimpleXMLElement style
fixed an error when there is a special character to the value set in _value
- added toDom method
toDom methodFixed typo in the name of the addSequentialNode-function
addSequentialNode-function- Add ability to use attributes
Add support to collection arrays and dynamically XML convertion when keys are numeric
handle values with special characters
Nothing published for this version
use DOMDocument for better validation
- initial release
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →