# symfony/yaml

Loads and dumps YAML files

Repository: https://github.com/symfony/yaml
Canonical: https://ross.abutalabs.com/products/symfony-yaml
Homepage: https://symfony.com/yaml
Language: PHP
License: MIT
License Family: permissive
Topics: php, symfony, component, symfony-component
Last push: 2026-08-26T09:02:11+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 5675, "days_push": 7, "days_rel": 11, "gap_med": 0.0, "n_releases_24m": 65}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3839, forks 133 (observed 2026-08-28T04:08:23.935172+00:00)

## What it is
The Symfony Yaml component is a PHP library that parses YAML strings into PHP arrays and dumps PHP arrays back into YAML. It is a standalone Composer-installable component widely used for configuration files across the PHP ecosystem.

## Use cases
- parse yaml config files in php
- dump php arrays to yaml
- validate yaml syntax
- read yaml files into arrays
- write configuration files in yaml format
- parse untrusted yaml safely

## When to choose
- you need a fast, robust YAML parser for PHP configuration files
- you want a well-maintained library backed by the Symfony ecosystem
- you need dump support, merge keys, and clear error messages

## When to avoid
- you need full YAML spec support such as multi-document files or compact block collections
- you are not working in PHP

## Facets
- artifact type: library
- maturity: stable
- function: serialization, parser, configuration-management
- domain: developer-tools, web-development, files
- platform: php
- tags: yaml, symfony-component, config-files, composer

## Member repositories
- symfony/yaml (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:23.935172+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:26:15.290905+00:00, confidence not recorded.
  - readme: https://github.com/symfony/yaml (fetched 2026-08-28T04:08:23.935172+00:00, sha 80d532762cbc)
  - homepage: https://symfony.com/yaml (fetched 2026-08-29T09:20:55.809199+00:00, sha fd6ef87dd48c)
  - site_page: https://symfony.com/doc (fetched 2026-08-29T09:20:55.818903+00:00, sha 44889134f4fb)
  - site_page: https://symfony.com/doc/current/components/yaml.html (fetched 2026-08-29T09:20:55.821098+00:00, sha 30a99f2f1b4c)
  - site_page: https://symfony.com/projects/phpmyfaq (fetched 2026-08-29T09:20:55.823500+00:00, sha b0b5a7438255)
  - site_page: https://symfony.com/releases (fetched 2026-08-29T09:20:55.825255+00:00, sha f109a7a4a5da)
  - site_page: https://symfony.com/blog/category/releases (fetched 2026-08-29T09:20:55.827412+00:00, sha da84802d18f3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
