Wrapper for various YAML parser/dumper

v0.1.1 2014-09-20 09:31 UTC

This package is not auto-updated.

Last update: 2020-05-25 05:19:41 UTC


README

Simple wrapper for YAML extension, SpyC, Symfony YAML parser/dumper.

Parser

<?php
$parser = new \AndyTruong\Yaml\YamlParser();
$parser->parse($yaml_string);

Dumper

<?php
$parser = new \AndyTruong\Yaml\YamlDumper();
$parser->dump($php_array);