atphp/yaml

Wrapper for various YAML parser/dumper

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

This package is auto-updated.

Last update: 2020-05-12 10:50:33 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);