staindgt / simple-converter
Simple converter
dev-master / 1.1.x-dev
2019-08-11 15:05 UTC
Requires
- php: ^7.0
Requires (Dev)
- phpunit/phpunit: ^6.0
This package is auto-updated.
Last update: 2025-08-12 04:48:35 UTC
README
This small converter can convert XML and JSON to array.
I hope he makes the programmer's job a little easier :)
Installation
composer require staindgt/simple-converter
Usage
use Staindgt\SimpleConverter\ConverterXmlToArray; use Staindgt\SimpleConverter\File; $source = new File($fileName); $convertedContent = (new ConverterXmlToArray($source))->convert();