You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andrés Montañez d6e7e5b6ab Remove SPYC library for Yamls and use Symfony/Component/Yaml instead. 11 years ago
..
Exception Remove SPYC library for Yamls and use Symfony/Component/Yaml instead. 11 years ago
Dumper.php Remove SPYC library for Yamls and use Symfony/Component/Yaml instead. 11 years ago
Escaper.php Remove SPYC library for Yamls and use Symfony/Component/Yaml instead. 11 years ago
Inline.php Remove SPYC library for Yamls and use Symfony/Component/Yaml instead. 11 years ago
LICENSE Remove SPYC library for Yamls and use Symfony/Component/Yaml instead. 11 years ago
Parser.php Remove SPYC library for Yamls and use Symfony/Component/Yaml instead. 11 years ago
README.md Remove SPYC library for Yamls and use Symfony/Component/Yaml instead. 11 years ago
Unescaper.php Remove SPYC library for Yamls and use Symfony/Component/Yaml instead. 11 years ago
Yaml.php Remove SPYC library for Yamls and use Symfony/Component/Yaml instead. 11 years ago

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:

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