spatie/array-to-xml
Convert an array to xml
3.4.4
68M downloads/mo
#445 most downloaded on Packagist
spatie/array-to-xml
What this package is like to depend on
Last release 8 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
11 years old
54 releases · first in 2015
4 releases in the last 12 months
see the full history below
Release timeline
54 releases · Mar 2015 to Dec 2025Releases
latest 54-
3.4.415 Dec 2025Release notes
Open source →What's Changed
- Ignore empty or null comment values by @dimitri-koenig in #249
Full Changelog: 3.4.3...3.4.4
Release notes
Open source →What's Changed
- Ignore empty or null comment values by @dimitri-koenig in https://github.com/spatie/array-to-xml/pull/249
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.4.3...3.4.4
-
3.4.327 Nov 2025Release notes
Open source →What's Changed
- Allow _value content to be numeric by @dimitri-koenig in #248
- Replace strpos with str_starts_with by @dimitri-koenig in #247
Full Changelog: 3.4.2...3.4.3
Release notes
Open source →What's Changed
- Allow _value content to be numeric by @dimitri-koenig in https://github.com/spatie/array-to-xml/pull/248
- Replace strpos with str_starts_with by @dimitri-koenig in https://github.com/spatie/array-to-xml/pull/247
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.4.2...3.4.3
-
3.4.226 Nov 2025Release notes
Open source →What's Changed
- Extend comments feature for multiple comments by @dimitri-koenig in #246
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in #245
- Bump stefanzweifel/git-auto-commit-action from 5 to 7 by @dependabot[bot] in #243
Full Changelog: 3.4.1...3.4.2
Release notes
Open source →What's Changed
- Extend comments feature for multiple comments by @dimitri-koenig in https://github.com/spatie/array-to-xml/pull/246
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in https://github.com/spatie/array-to-xml/pull/245
- Bump stefanzweifel/git-auto-commit-action from 5 to 7 by @dependabot[bot] in https://github.com/spatie/array-to-xml/pull/243
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.4.1...3.4.2
-
3.4.112 Nov 2025Release notes
Open source →What's Changed
- Replace array access with foreach value by @xHeaven in #236
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot[bot] in #237
- Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot[bot] in #239
- Update issue template by @AlexVanderbist in #242
- Add comment feature by @dimitri-koenig in #244
New Contributors
- @xHeaven made their first contribution in #236
- @AlexVanderbist made their first contribution in #242
- @dimitri-koenig made their first contribution in #244
Full Changelog: 3.4.0...3.4.1
Release notes
Open source →What's Changed
- Replace array access with foreach value by @xHeaven in https://github.com/spatie/array-to-xml/pull/236
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot[bot] in https://github.com/spatie/array-to-xml/pull/237
- Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot[bot] in https://github.com/spatie/array-to-xml/pull/239
- Update issue template by @AlexVanderbist in https://github.com/spatie/array-to-xml/pull/242
- Add comment feature by @dimitri-koenig in https://github.com/spatie/array-to-xml/pull/244
New Contributors
- @xHeaven made their first contribution in https://github.com/spatie/array-to-xml/pull/236
- @AlexVanderbist made their first contribution in https://github.com/spatie/array-to-xml/pull/242
- @dimitri-koenig made their first contribution in https://github.com/spatie/array-to-xml/pull/244
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.4.0...3.4.1
-
3.4.016 Dec 2024Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in #232
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in #234
- Allow passing of saveXML options by @VincentBean in #235
New Contributors
- @VincentBean made their first contribution in #235
Full Changelog: 3.3.0...3.4.0
Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in https://github.com/spatie/array-to-xml/pull/232
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in https://github.com/spatie/array-to-xml/pull/234
- Allow passing of saveXML options by @VincentBean in https://github.com/spatie/array-to-xml/pull/235
New Contributors
- @VincentBean made their first contribution in https://github.com/spatie/array-to-xml/pull/235
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.3.0...3.4.0
-
3.3.001 May 2024Release notes
Open source →What's Changed
- Update README.md by @trippo in #229
- Fix explicit nullable parameter for PHP 8.4 compatibility by @GromNaN in #233
New Contributors
Full Changelog: 3.2.3...3.3.0
Release notes
Open source →What's Changed
- Update README.md by @trippo in https://github.com/spatie/array-to-xml/pull/229
- Fix explicit nullable parameter for PHP 8.4 compatibility by @GromNaN in https://github.com/spatie/array-to-xml/pull/233
New Contributors
- @trippo made their first contribution in https://github.com/spatie/array-to-xml/pull/229
- @GromNaN made their first contribution in https://github.com/spatie/array-to-xml/pull/233
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.2.3...3.3.0
-
3.2.307 Feb 2024Release notes
Open source →What's Changed
- Convert boolean values to proper xml representation by @radeno in https://github.com/spatie/array-to-xml/pull/228
-
3.2.214 Nov 2023Release notes
Open source →What's Changed
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #224
- Conver null based on option by @radeno in #226
Full Changelog: 3.2.1...3.2.2
Release notes
Open source →What's Changed
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in https://github.com/spatie/array-to-xml/pull/224
- Conver null based on option by @radeno in https://github.com/spatie/array-to-xml/pull/226
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.2.1...3.2.2
-
3.2.108 Nov 2023Release notes
Open source →What's Changed
- Bump actions/checkout from 3 to 4 by @dependabot in #222
- Use proper NULL value when we wanna use with XSD by @radeno in #225
New Contributors
Full Changelog: 3.2.0...3.2.1
Release notes
Open source →What's Changed
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/spatie/array-to-xml/pull/222
- Use proper NULL value when we wanna use with XSD by @radeno in https://github.com/spatie/array-to-xml/pull/225
New Contributors
- @radeno made their first contribution in https://github.com/spatie/array-to-xml/pull/225
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.2.0...3.2.1
-
3.2.019 Jul 2023Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in #217
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in #218
- Added Closure value support by @SuperDJ in #219
Full Changelog: 3.1.6...3.2.0
Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in https://github.com/spatie/array-to-xml/pull/217
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in https://github.com/spatie/array-to-xml/pull/218
- Added Closure value support by @SuperDJ in https://github.com/spatie/array-to-xml/pull/219
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.6...3.2.0
-
3.1.611 May 2023Release notes
Open source →What's Changed
- V3 - Code smell ('incorrect' method call) by @ExeQue in https://github.com/spatie/array-to-xml/pull/208
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/spatie/array-to-xml/pull/210
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/spatie/array-to-xml/pull/214
- Add addXmlDeclaration parameter by @silnex in https://github.com/spatie/array-to-xml/pull/216
New Contributors
- @silnex made their first contribution in https://github.com/spatie/array-to-xml/pull/216
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.5...3.1.6
-
3.1.524 Dec 2022Release notes
Open source →What's Changed
- Add Dependabot Automation by @patinthehat in https://github.com/spatie/array-to-xml/pull/196
- Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/spatie/array-to-xml/pull/197
- Fix PHP version by @parallels999 in https://github.com/spatie/array-to-xml/pull/198
- fix deprecated
passing null as string typeby @trin4ik in https://github.com/spatie/array-to-xml/pull/204
New Contributors
- @dependabot made their first contribution in https://github.com/spatie/array-to-xml/pull/197
- @parallels999 made their first contribution in https://github.com/spatie/array-to-xml/pull/198
- @trin4ik made their first contribution in https://github.com/spatie/array-to-xml/pull/204
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.4...3.1.5
-
3.1.424 Nov 2022Release notes
Open source →What's Changed
- PHP 8.2 support by @SuperDJ in https://github.com/spatie/array-to-xml/pull/194
- Added more types by @SuperDJ in https://github.com/spatie/array-to-xml/pull/195
New Contributors
- @SuperDJ made their first contribution 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
-
3.1.308 May 2022Nothing published for this version
-
3.1.203 Mar 2022Nothing published for this version
-
3.1.122 Nov 2021Nothing published for this version
-
3.1.012 Sep 2021 -
3.0.105 Sep 2021 -
3.0.023 Apr 2021 -
2.17.126 Dec 2022Nothing published for this version
-
2.17.013 Dec 2022Nothing published for this version
-
2.16.018 Nov 2020 -
2.15.112 Nov 2020 -
2.15.029 Oct 2020 -
2.14.014 Sep 2020 -
2.13.022 Aug 2020 -
2.12.118 Jun 2020 -
2.12.016 Jun 2020Nothing published for this version
-
2.11.221 Aug 2019 -
2.11.124 Jul 2019 -
2.11.026 Jun 2019 -
2.10.026 Jun 2019 -
2.9.006 May 2019 -
2.8.115 Mar 2019 -
2.8.029 Nov 2018 -
2.7.329 Oct 2018 -
2.7.217 Sep 2018 -
2.7.120 Feb 2018 -
2.7.007 Sep 2017 -
2.6.129 Aug 2017 -
2.6.025 Aug 2017 -
2.5.203 Aug 2017 -
2.5.022 May 2017 -
2.3.018 Feb 2017 -
2.2.108 Dec 2016Release notes
Open source →- fixed an error when there is a special character to the value set in _value
-
2.2.004 Jul 2016 -
2.1.123 Feb 2016 -
2.1.012 Feb 2016 -
2.0.008 Oct 2015Release notes
Open source →- Add support to collection arrays and dynamically XML convertion when keys are numeric
-
1.0.303 Oct 2015 -
1.0.224 May 2015Nothing published for this version
-
1.0.118 Mar 2015Release notes
Open source →- use DOMDocument for better validation
- added an option to opt out of the automatic space replacement
-
1.0.017 Mar 2015 -
0.0.117 Mar 2015Nothing published for this version