Wrapper for various YAML parser/dumper

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

This package is not auto-updated.

Last update: 2024-11-19 02:17:28 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);