# symfony/config

Helps you find, load, combine, autofill and validate configuration values of any kind

Repository: https://github.com/symfony/config
Canonical: https://ross.abutalabs.com/products/symfony-config
Homepage: https://symfony.com/config
Language: PHP
License: MIT
License Family: permissive
Topics: php, symfony, component, symfony-component
Last push: 2026-08-22T13:47:10+00:00

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

## Adoption (not part of the score)
Stars 4275, forks 44 (observed 2026-08-28T04:08:41.050715+00:00)

## What it is
The Symfony Config component is a PHP library for finding, loading, combining, autofilling, and validating configuration values from any source, such as YAML, XML, or INI files. It lets developers define configuration structures with validation rules and defaults, and merge configurations from multiple sources into one.

## Use cases
- load and validate yaml config files in php
- merge configuration from multiple sources
- define config schema with defaults and validation rules
- parse xml and ini configuration in php
- build friendly configuration for a symfony bundle
- cache configuration based on resource changes

## When to choose
- you need structured, validated application configuration in PHP
- you are building a Symfony bundle with user-facing configuration
- you need to combine config from YAML, XML, INI, or databases

## When to avoid
- your project uses a language other than PHP
- you only need simple key-value config without validation or merging
- you want a full framework rather than a single component

## Facets
- artifact type: library
- maturity: stable
- function: configuration-management, serialization, form-handling, file-system
- domain: developer-tools, web-development, backend
- platform: php, cross-platform
- tags: symfony-component, config-validation, yaml, xml, ini, config-merging, composer, php

## Member repositories
- symfony/config (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:41.050715+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:21:59.968647+00:00, confidence not recorded.
  - readme: https://github.com/symfony/config (fetched 2026-08-28T04:08:41.050715+00:00, sha d612d422e9ca)
  - homepage: https://symfony.com/config (fetched 2026-08-29T09:11:27.245487+00:00, sha 1ba6363cd4e6)
  - site_page: https://symfony.com/doc (fetched 2026-08-29T09:11:27.248391+00:00, sha 44889134f4fb)
  - site_page: https://symfony.com/doc/current/components/config.html (fetched 2026-08-29T09:11:27.250577+00:00, sha c34bfd89d554)
  - site_page: https://symfony.com/projects/phpmyfaq (fetched 2026-08-29T09:11:27.252647+00:00, sha b0b5a7438255)
  - site_page: https://symfony.com/releases (fetched 2026-08-29T09:11:27.255107+00:00, sha f109a7a4a5da)
  - site_page: https://symfony.com/blog/category/releases (fetched 2026-08-29T09:11:27.257631+00:00, sha 35b9da44a68e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
