An extended variant of the Symfony PHP YAML library.

0.2.0 2016-02-24 23:17 UTC

This package is not auto-updated.

Last update: 2024-11-09 19:45:41 UTC


README

An extended variant of the Symfony PHP YAML library.

Packagist Version GitHub license Build Status

Install

$ composer require radioactivehamster/yaml

Usage

<?php

use RadHam\Yaml;

$yaml = '[hello, world]';
$data = Yaml::parse($yaml)

$file = 'hello-world.yml';
Yaml::parseFile($file);

License

The MIT License (Expat). See the license file for details.