PHPackages                             dcarbone/xml-writer-plus - 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. dcarbone/xml-writer-plus

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

dcarbone/xml-writer-plus
========================

Simple XML Writer library for PHP 5.4+

0.6.0(5y ago)1463.6k↓22.2%22Apache-2.0PHPPHP &gt;=5.4.0

Since Jun 22Pushed 2y ago4 watchersCompare

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

READMEChangelog (5)Dependencies (1)Versions (11)Used By (2)

xml-writer-plus
===============

[](#xml-writer-plus)

[![Build Status](https://camo.githubusercontent.com/ecfcc7302025e175c2adb7f30572921a8f4edbc4d219c7ee29a26d88ec48c53d/68747470733a2f2f7472617669732d63692e6f72672f64636172626f6e652f786d6c2d7772697465722d706c75732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dcarbone/xml-writer-plus)

Simple XML Writer library for PHP 5.4+

The goal of this library is to provide some added functionality to the built-in PHP [XMLWriter](http://www.php.net//manual/en/book.xmlwriter.php) class.

Inclusion in your Composer app
------------------------------

[](#inclusion-in-your-composer-app)

Add

```
"dcarbone/xml-writer-plus" : "0.6.*"

```

To your application's `composer.json` file.

Learn more about Composer here: [](https://getcomposer.org/)

Basic usage
-----------

[](#basic-usage)

To get started creating your own XML document:

```
