Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
[READ-ONLY] Subtree split of the Symfony YAML Component -- clone into Symfony/Component/ (master at symfony/symfony)

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Exception
Tests
CHANGELOG.md
Dumper.php
Escaper.php
Inline.php
LICENSE
Parser.php
README.md
Unescaper.php
Yaml.php
composer.json
phpunit.xml.dist

README.md

Yaml Component

YAML implements most of the YAML 1.2 specification.

use Symfony\Component\Yaml\Yaml;

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

print Yaml::dump($array);

Resources

You can run the unit tests with the following command:

phpunit
Something went wrong with that request. Please try again.