hiraku/xml_builder (packagist): Simple DSL for building XML
Keywords: json|xml|array|dom