net_bazzline/php_component_converter

php component that can handle converting of xml, php array, yaml

1.0.0 2013-07-24 20:02 UTC

This package is auto-updated.

Last update: 2024-03-27 23:56:42 UTC


README

php tool that can handle convertation of following formats: php array, xml, yaml

The build status of the current master branch is tracked by Travis CI: Build Status

Converters

Right now, following converters are available out of the box:

  • PhpArrayConverter
  • JSONConverter
  • XMLConverter
  • YAMLConverter

I have focused on general configuration content. Each format has its limiting factors and they have kept in mind by creating other converters. For example, you can not use attributes in the xml format since i have no idea how to convert that robust into the other formats.

Packagist

https://packagist.org/packages/net_bazzline/php_component_converter

Add following line to you composer.json file.
"net_bazzline/php_component_converter": "dev-master"