PHPackages                             lib16/xml - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. lib16/xml

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

lib16/xml
=========

lib16 XML Builder is a PHP 7 library for creating XML documents.

v1.3.1(5y ago)43.9k↓50%22MITPHPPHP &gt;=7.0CI failing

Since Jan 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lib16/xml-builder-php)[ Packagist](https://packagist.org/packages/lib16/xml)[ Docs](https://github.com/lib16/xml-builder-php)[ RSS](/packages/lib16-xml/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (11)Used By (2)

XML Builder for PHP 7
=====================

[](#xml-builder-for-php-7)

A library for creating XML documents written in PHP 7.

[![Build Status](https://camo.githubusercontent.com/b682955977cd98b45ca61187ca3de02d3716308a2d2c501f529b880bda910083/68747470733a2f2f7472617669732d63692e636f6d2f6c696231362f786d6c2d6275696c6465722d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/lib16/xml-builder-php)[![Coverage](https://camo.githubusercontent.com/02975e4ae11143c64af2cc9401b3149d06ead17ecceea34428c43f9ed3fbbb74/68747470733a2f2f636f6465636f762e696f2f67682f6c696231362f786d6c2d6275696c6465722d7068702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/lib16/xml-builder-php)

Installation with Composer
--------------------------

[](#installation-with-composer)

This package is available on [packagist](https://packagist.org/packages/lib16/xml), so you can use [Composer](https://getcomposer.org) to install it: `composer require lib16/xml`

Basic Usage
-----------

[](#basic-usage)

```
