All notable changes to array-to-xml
will be documented in this file
- Rewrite phpunit tests to pest by @otsch in spatie#183
- PHP 8.1 fix deprecated null parameters by @gigerIT in spatie#187
- @otsch made their first contribution in spatie#183
- @gigerIT made their first contribution in spatie#187
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.2...3.1.3
- Fix basic collection with namespace by @vaclavvanik in spatie#182
- @vaclavvanik made their first contribution in spatie#182
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.1...3.1.2
- Fix a typo in the result by @olsza in spatie#172
- @olsza made their first contribution in spatie#172
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.0...3.1.1
- add support for processing instructions
- allow null inside array to be converted to xml (#170)
- require PHP 8+
- drop support for PHP 7.x
- convert syntax to PHP 8
- add escapable colons in custom keys (#151)
- add support for PHP 8
- add $xmlStandalone as a new parameter (#148)
- add support for dropping XML declaration (#145)
- add support for custom keys (#140)
- add XML prettification (#136)
- fix XML structure when using numeric keys
- do not interpret "0" as a non-empty value
- drop support for PHP 7.1
- add
setDomProperties
- add support for numeric keys
- fix tests
- drop support for PHP 7.0
- added support for mixed content
- fix for
DomExeception
s 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
- PHP 7 is now required
- allow encoding and version to be set
- attributes and value can be set in SimpleXMLElement style
- 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
- Fixed typo in the name of the
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
- use DOMDocument for better validation
- added an option to opt out of the automatic space replacement
- initial release