# symfony/form

Allows to easily create, process and reuse HTML forms

Repository: https://github.com/symfony/form
Canonical: https://ross.abutalabs.com/products/symfony-form
Homepage: https://symfony.com/form
Language: PHP
License: MIT
License Family: permissive
Topics: php, symfony, component, symfony-component
Last push: 2026-08-26T09:02:42+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": 5671, "days_push": 7, "days_rel": 11, "gap_med": 0, "n_releases_24m": 72}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2765, forks 109 (observed 2026-08-28T04:07:18.645164+00:00)

## What it is
The Symfony Form component is a PHP library for creating, processing, and reusing HTML forms. It handles rendering form fields, validating submitted data, CSRF protection, and mapping form data to objects.

## Use cases
- create and process HTML forms in PHP
- map submitted form data to objects
- validate form input server-side
- render forms with Twig templates
- add CSRF protection to forms
- reuse form types across a Symfony application
- build forms without a data class

## When to choose
- you are building a Symfony application and need form handling
- you want server-side validation and data mapping integrated with form rendering
- you need complex, reusable form types in PHP

## When to avoid
- you are building a JavaScript SPA that only needs a backend API
- you want a lightweight form builder for a non-PHP stack
- you only need simple static HTML forms without processing logic

## Facets
- artifact type: library
- maturity: stable
- function: form-handling, templating
- domain: web-development, backend
- platform: php
- tags: symfony-component, html-forms, csrf-protection, data-mapping, php, web-server

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

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:18.645164+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-30T08:16:46.521796+00:00, confidence not recorded.
  - readme: https://github.com/symfony/form (fetched 2026-08-28T04:07:18.645164+00:00, sha 2f405e848d98)
  - homepage: https://symfony.com/form (fetched 2026-08-29T09:56:22.657385+00:00, sha aad944358855)
  - site_page: https://symfony.com/doc (fetched 2026-08-29T09:56:22.666913+00:00, sha 44889134f4fb)
  - site_page: https://symfony.com/doc/current/components/form.html (fetched 2026-08-29T09:56:22.669510+00:00, sha bc8766de4439)
  - site_page: https://symfony.com/releases (fetched 2026-08-29T09:56:22.673368+00:00, sha 2fd410222cfe)
  - site_page: https://symfony.com/blog/category/releases (fetched 2026-08-29T09:56:22.675792+00:00, sha 83b70dd163fb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
