2017 © Pedro Peláez
 

library arrayasxml

Simple class, array as xml converter.

image

overbid/arrayasxml

Simple class, array as xml converter.

  • Tuesday, July 21, 2015
  • by overbid
  • Repository
  • 1 Watchers
  • 0 Stars
  • 119 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 3 % Grown

The README.md

ArrayAsXml

ArrayAsXml is a simple PHP class that converts array to XML., (*1)

Based on SimpleXML., (*2)

Installation

via Composer, (*3)

composer require overbid/arrayasxml

Usage

Load the library

require 'vendor/autoload.php';
use Overbid\ArrayAsXml;

Set custom configuration:

$arrayAsXml = new ArrayAsXml();
$arrayAsXml->setEncoding('TIS-620');  //default UTF-8
$arrayAsXml->setRootName('main');     //defaul root

Creat XML

echo $arrayAsXml->save($data);

The Versions

21/07 2015

dev-master

9999999-dev https://github.com/overbid/arrayasxml

Simple class, array as xml converter.

  Sources   Download

MIT

php xml

18/07 2015

v0.2

0.2.0.0 https://github.com/overbid/arrayasxml

Simple class, array as xml converter.

  Sources   Download

MIT

php xml

17/07 2015

v0.1

0.1.0.0 https://github.com/overbid/arrayasxml

Simple class, array as xml converter.

  Sources   Download

MIT

php xml