PackageTrack
Sign in Get early access

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 2025
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 54
  1. 3.4.4 15 Dec 2025
    Release notes

    What's Changed

    Full Changelog: 3.4.3...3.4.4

    Open source →
    Release notes

    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

    Open source →
    Release notes

    3.4.4 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 3.4.3 27 Nov 2025
    Release notes

    What's Changed

    Full Changelog: 3.4.2...3.4.3

    Open source →
    Release notes

    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

    Open source →
    Release notes

    3.4.3

    Compare

    Choose a tag to compare

    Open source →
  3. 3.4.2 26 Nov 2025
    Release notes

    What's Changed

    Full Changelog: 3.4.1...3.4.2

    Open source →
    Release notes

    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

    Open source →
    Release notes

    3.4.2

    Compare

    Choose a tag to compare

    Open source →
  4. 3.4.1 12 Nov 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.4.0...3.4.1

    Open source →
    Release notes

    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

    Open source →
    Release notes

    3.4.1

    Compare

    Choose a tag to compare

    Open source →
  5. 3.4.0 16 Dec 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.3.0...3.4.0

    Open source →
    Release notes

    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

    Open source →
    Release notes

    3.4.0

    Compare

    Choose a tag to compare

    Open source →
  6. 3.3.0 01 May 2024
    Release notes

    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

    Open source →
    Release notes

    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

    Open source →
    Release notes

    3.3.0

    Compare

    Choose a tag to compare

    Open source →
  7. 3.2.3 07 Feb 2024
    Release notes

    What's Changed

    • Add proper boolean conversion to xml representation by @radeno in #228

    Full Changelog: 3.2.2...3.2.3

    Open source →
    Release notes

    What's Changed

    • Convert boolean values to proper xml representation by @radeno in https://github.com/spatie/array-to-xml/pull/228
    Open source →
    Release notes

    3.2.3

    Compare

    Choose a tag to compare

    Open source →
  8. 3.2.2 14 Nov 2023
    Release notes

    What's Changed

    Full Changelog: 3.2.1...3.2.2

    Open source →
    Release notes

    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

    Open source →
    Release notes

    3.2.2

    Compare

    Choose a tag to compare

    Open source →
  9. 3.2.1 08 Nov 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.2.0...3.2.1

    Open source →
    Release notes

    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

    Open source →
    Release notes

    3.2.1

    Compare

    Choose a tag to compare

    Open source →
  10. 3.2.0 19 Jul 2023
    Release notes

    What's Changed

    Full Changelog: 3.1.6...3.2.0

    Open source →
    Release notes

    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

    Open source →
    Release notes

    3.2.0

    Compare

    Choose a tag to compare

    Open source →
  11. 3.1.6 11 May 2023
    Release notes

    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

    Open source →
  12. 3.1.5 24 Dec 2022
    Release notes

    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 type by @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

    Open source →
  13. 3.1.4 24 Nov 2022
    Release notes

    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

    Open source →
  14. 3.1.3 08 May 2022

    Nothing published for this version

  15. 3.1.2 03 Mar 2022

    Nothing published for this version

  16. 3.1.1 22 Nov 2021

    Nothing published for this version

  17. 3.1.0 12 Sep 2021
    Release notes
    • add support for processing instructions
    Open source →
  18. 3.0.1 05 Sep 2021
    Release notes
    • allow null inside array to be converted to xml (#170)
    Open source →
  19. 3.0.0 23 Apr 2021
    Release notes
    • require PHP 8+
    • drop support for PHP 7.x
    • convert syntax to PHP 8
    Open source →
  20. 2.17.1 26 Dec 2022

    Nothing published for this version

  21. 2.17.0 13 Dec 2022

    Nothing published for this version

  22. 2.16.0 18 Nov 2020
    Release notes
    • add escapable colons in custom keys (#151)
    Open source →
  23. 2.15.1 12 Nov 2020
    Release notes
    • add support for PHP 8
    Open source →
  24. 2.15.0 29 Oct 2020
    Release notes
    • add $xmlStandalone as a new parameter (#148)
    Open source →
  25. 2.14.0 14 Sep 2020
    Release notes
    • add support for dropping XML declaration (#145)
    Open source →
  26. 2.13.0 22 Aug 2020
    Release notes
    • add support for custom keys (#140)
    Open source →
  27. 2.12.1 18 Jun 2020
    Release notes
    • add XML prettification (#136)
    Open source →
  28. 2.12.0 16 Jun 2020

    Nothing published for this version

  29. 2.11.2 21 Aug 2019
    Release notes
    • fix XML structure when using numeric keys
    Open source →
  30. 2.11.1 24 Jul 2019
    Release notes
    • do not interpret "0" as a non-empty value
    Open source →
  31. 2.11.0 26 Jun 2019
    Release notes
    • drop support for PHP 7.1
    Open source →
  32. 2.10.0 26 Jun 2019
    Release notes
    • add setDomProperties
    Open source →
  33. 2.9.0 06 May 2019
    Release notes
    • add support for numeric keys
    Open source →
  34. 2.8.1 15 Mar 2019
    Release notes
    • fix tests
    • drop support for PHP 7.0
    Open source →
  35. 2.8.0 29 Nov 2018
    Release notes
    • added support for mixed content
    Open source →
  36. 2.7.3 29 Oct 2018
    Release notes
    • fix for DomExeceptions being thrown
    Open source →
  37. 2.7.2 17 Sep 2018
    Release notes
    • remove control characters
    Open source →
  38. 2.7.1 20 Feb 2018
    Release notes
    • fix setting attributes
    Open source →
  39. 2.7.0 07 Sep 2017
    Release notes
    • allow wrapping data in a CDATA section
    Open source →
  40. 2.6.1 29 Aug 2017
    Release notes
    • add fix for multiple empty/self-closing child elements
    Open source →
  41. 2.6.0 25 Aug 2017
    Release notes
    • add support for naming a root element and adding properties to it
    Open source →
  42. 2.5.2 03 Aug 2017
    Release notes
    • avoid pulling in the snapshot package on install
    Open source →
  43. 2.5.0 22 May 2017
    Release notes
    • allow encoding and version to be set
    Open source →
  44. 2.3.0 18 Feb 2017
    Release notes
    • attributes and value can be set in SimpleXMLElement style
    Open source →
  45. 2.2.1 08 Dec 2016
    Release notes
    • fixed an error when there is a special character to the value set in _value
    Open source →
  46. 2.2.0 04 Jul 2016
    Release notes
    • added toDom method
    Open source →
  47. 2.1.1 23 Feb 2016
    Release notes
    • Fixed typo in the name of the addSequentialNode-function
    Open source →
  48. 2.1.0 12 Feb 2016
    Release notes
    • Add ability to use attributes
    Open source →
  49. 2.0.0 08 Oct 2015
    Release notes
    • Add support to collection arrays and dynamically XML convertion when keys are numeric
    Open source →
  50. 1.0.3 03 Oct 2015
    Release notes
    • handle values with special characters
    Open source →
  51. 1.0.2 24 May 2015

    Nothing published for this version

  52. 1.0.1 18 Mar 2015
    Release notes
    • use DOMDocument for better validation
    • added an option to opt out of the automatic space replacement
    Open source →
  53. 1.0.0 17 Mar 2015
    Release notes
    • initial release
    Open source →
  54. 0.0.1 17 Mar 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive