PHPackages                             liwenyu/yii2-xmlparser - 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. liwenyu/yii2-xmlparser

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

liwenyu/yii2-xmlparser
======================

yii2 framework xml parser

v1.0.0(5y ago)14.9kBSD-3-ClausePHP

Since Feb 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/liwenyu/yii2-xmlparser)[ Packagist](https://packagist.org/packages/liwenyu/yii2-xmlparser)[ RSS](/packages/liwenyu-yii2-xmlparser/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Overview
--------

[](#overview)

This is a library help you to handle the xml request. As we all know, [Yii2](https://github.com/yiisoft/yii2) provided an built-in request parser for `json` like requests, it's `yii\web\JsonParser`. Sometimes, we need to handle the request of xml, so this library is birthed.

Install
-------

[](#install)

Add `liwenyu/yii2-xmlparser` to composer.json, you can assign version as `*`:

```
$ composer install
//or run
$ composer update
```

also we can do like this:

```
$ composer require liwenyu/yii2-xmlparser=* --prefer-dist
```

Usage
-----

[](#usage)

```
# file app/config/main.php [your configuration file]
