Releases: inspirum/xml-php
Releases · inspirum/xml-php
v3.1.0
Fixed
- Fixed
Node::xpath
method for node with child nodes
Added
- Added optional parameter withoutRoot to
FlattenConfig
to cast node to flatten (one-dimensional) array without root element node name
v3.0.0
Changed
- Support only PHP 8.2+
- Make
Config
interface instead of readonly class
Added
- Added
Node::xpath
method using internally\DOMXPath
- Added option cast node to flatten (one-dimensional) array
- Added
DefaultConfig
config class - Added
FullResponseConfig
config class - Added
FlattenConfig
config class
- Added
- Added option to create or add node from
\DOMNode
v2.3.1
Fixed
- Update readme
v2.3.0
v2.2.0
v2.1.0
Added
- Implement
\Arrayable
interface
v2.0.0
Changed
- Support only PHP 8.1+
- Major refactor of all services
- Readonly
Config
without getters and setters
Added
- Interfaces for most classes
- Factories for XML builder and XML Reader
- Publicly available
Formatter::nodeToArray
method
v1.0.1
Fixed
- Support "_" in elements name
v1.0.0
Added
- Added XML builder
- Fluent builder support
- Automatic (or forced) CDATA escaping
- Option to add XML fragments
- Automatic namespace usage
- XML validation with XSD schema
- Added memory efficient XML reader
- Reading XML files into XMLNode instances
- Powerful cast to array method
- Iterate all nodes with given name