PHPackages                             vondrasoft/xml-serializer - 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. vondrasoft/xml-serializer

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

vondrasoft/xml-serializer
=========================

Transform arrays to xml and back.

v1.0.1(4y ago)197MITPHPPHP &gt;=8.0

Since Dec 27Pushed 4y ago2 watchersCompare

[ Source](https://github.com/vondrasoft/xml-serializer)[ Packagist](https://packagist.org/packages/vondrasoft/xml-serializer)[ RSS](/packages/vondrasoft-xml-serializer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

XmlSerializer v1.0.1
====================

[](#xmlserializer-v101)

This package serialize xml to collection (arrays, json) and back for your apis.

It is compatible (and tested) with PHP 8.0+. There is 100% unit test coverage with codesniffer and phpstan at maximum level.

Installation
------------

[](#installation)

Add [`vondrasoft/xml-serializer`](https://packagist.org/packages/vondrasoft/xml-serializer)to your `composer.json` file or:

```
composer require vondrasoft/xml-serializer

```

Usage
-----

[](#usage)

Serialize array to xml
----------------------

[](#serialize-array-to-xml)

```
