net_bazzline / php_component_converter
php component that can handle converting of xml, php array, yaml
Requires
- php: >=5.3.3
- symfony/yaml: 2.2.*@dev
Requires (Dev)
- mikey179/vfsstream: dev-master
- mockery/mockery: dev-master
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2024-10-28 01:07:15 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:
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"