lexa-xml-serialization is an XML serialization library for PHP. It makes plain PHP objects XML-serializable by using phpdoc-style annotations. It supports serialization of private and protected properties. It generates an XSD schema for your classes.