Is there a framework like JAXB for PHP?
I need a framework that, as JAXB, create a XML file from an object. This framework has to know how to map the object to XML, respecting its structure when needed (children objects, lists, etc.).
Also, it needs to do the reverse engineering, which means convert a (valid) XML file to the origin object.
In other words, the framework must be able to marshal an object and unmarshal a XML file.
I know how great is JAXB and it's really bad that I can't use Java in this project I'm currently working.
I think you're looking for an PHP object XML serializer/deserializer. This might help: PHP Object as XML Document
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With