mauris/yaml

Mauris Build of the Symfony Yaml Component

Installs: 780

Dependents: 2

Watchers: 1

Forks: 62

Language: PHP

1.0.0 2013-05-02 11:55 UTC

README

Yaml implements most of the YAML 1.2 specification.

use Symfony\Component\Yaml\Yaml;

$array = Yaml::parse($file);

print Yaml::dump($array);

Installation

You can install Yaml through Composer:

{
    "require": {
        "mauris/yaml": "1.0.*"
    }
}

Then run:

$ composer install

Resources

You can run the unit tests with the following command:

$ cd path/to/Symfony/Component/Yaml/
$ composer.phar install --dev
$ phpunit