atphp/yaml

Wrapper for various YAML parser/dumper

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

This package is auto-updated.

Last update: 2024-10-12 20:11:59 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);