ktomk/symfony-yaml

Symfony Yaml Component

Maintainers

Details

github.com/ktomk/yaml

Homepage

Source

Installs: 22 964

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 130

v2.6.13.5 2022-07-17 18:50 UTC

This package is auto-updated.

Last update: 2024-12-18 00:02:59 UTC


README

YAML implements most of the YAML 1.2 specification.

use Symfony\Component\Yaml\Yaml;

$array = Yaml::parse(file_get_contents(filename));

print Yaml::dump($array);

Resources

You can run the unit tests with the following command:

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