Is there an infrastructure like JAXB for PHP ?
I need a structure that, like JAXB, creates an XML file from an object. This structure needs to know how to map an object to XML, respecting its structure when necessary (child objects, lists, etc.).
In addition, it must perform reverse engineering, which means converting the (valid) XML file to the source object.
In other words, the structure must be able to marshal the object and cancel the XML file .
I know how big JAXB is, and it is very bad that I can’t use Java in this project that I am currently working on.
source
share