Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Array To Xml Laravel Package

spatie/array-to-xml

Simple PHP utility to convert arrays into XML strings. Supports custom root element names and configurable key handling (e.g., converting spaces to underscores). Ideal for quickly generating XML output from structured array data.

View on GitHub
Deep Wiki
Context7
3.4.4
3.4.3
3.4.2

What's Changed

Full Changelog: https://github.com/spatie/array-to-xml/compare/3.4.1...3.4.2

3.4.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/array-to-xml/compare/3.4.0...3.4.1

3.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/array-to-xml/compare/3.3.0...3.4.0

3.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/array-to-xml/compare/3.2.3...3.3.0

3.2.3

What's Changed

3.2.2

What's Changed

Full Changelog: https://github.com/spatie/array-to-xml/compare/3.2.1...3.2.2

3.2.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/array-to-xml/compare/3.2.0...3.2.1

3.2.0

What's Changed

Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.6...3.2.0

3.1.6

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.5...3.1.6

3.1.5
3.1.3
3.1.2
3.1.1
3.1.0
  • add support for processing instructions
3.0.1
  • allow null inside array to be converted to xml (#170)
3.0.0
  • require PHP 8+
  • drop support for PHP 7.x
  • convert syntax to PHP 8
2.16.0
  • add escapable colons in custom keys (#151)
2.15.1
  • add support for PHP 8
2.15.0
  • add $xmlStandalone as a new parameter (#148)
2.14.0
  • add support for dropping XML declaration (#145)
2.13.0
  • add support for custom keys (#140)
2.12.1
  • add XML prettification (#136)
2.11.0
  • drop support for PHP 7.1
2.10.0
  • add setDomProperties
2.11.2
  • fix XML structure when using numeric keys
2.11.1
  • do not interpret "0" as a non-empty value
2.9.0
  • add support for numeric keys
2.8.1
  • fix tests
  • drop support for PHP 7.0
2.8.0
  • added support for mixed content
2.7.3
  • fix for DomExeceptions being thrown
2.7.2
  • remove control characters
2.7.1
  • fix setting attributes
2.7.0
  • allow wrapping data in a CDATA section
2.6.0
  • add support for naming a root element and adding properties to it
2.5.2
  • avoid pulling in the snapshot package on install
2.5.1
  • PHP 7 is now required
2.5.0
  • allow encoding and version to be set
2.4.0
  • attributes and value can be set in SimpleXMLElement style
2.3.0
  • attributes and value can be set in SimpleXMLElement style
2.2.1
  • fixed an error when there is a special character to the value set in _value
2.2.0
  • added toDom method
2.1.1
  • Fixed typo in the name of the addSequentialNode-function
2.1.0
  • Add ability to use attributes
2.0.0
  • Add support to collection arrays and dynamically XML convertion when keys are numeric
1.0.3
  • handle values with special characters
1.0.1
  • use DOMDocument for better validation
  • added an option to opt out of the automatic space replacement
1.0.0
  • initial release
What's
2.6.1-
  • add fix for multiple empty/self-closing child elements
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport