ktomk/symfony-yaml

Symfony Yaml Component

Maintainers

Details

github.com/ktomk/yaml

Homepage

Source

Installs: 22 822

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-11-17 23:49:47 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