2017 © Pedro Peláez
 

library yii2-xmlparser

yii2 framework xml parser

image

liwenyu/yii2-xmlparser

yii2 framework xml parser

  • Tuesday, September 13, 2016
  • by liwenyu
  • Repository
  • 1 Watchers
  • 1 Stars
  • 23 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 35 % Grown

The README.md

Overview

This is a library help you to handle the xml request. As we all know, 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., (*1)

Install

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

$ composer install
//or run
$ composer update

also we can do like this:, (*3)

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

Usage

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

return [
    'components' => [
    'request' => [
        'parsers' => [
                'application/xml' => 'liwenyu\yii2\XmlParser',
            ],
        ],
    ],
];

LICENSE

MIT, (*4)

The Versions

13/09 2016

dev-master

9999999-dev

yii2 framework xml parser

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar liwenyu

parser xml yii2 request