salernolabs/php-to-xml (packagist): Simple class to convert PHP objects to XML, with tests.
Keywords: php|xml|converts