NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #373 most downloaded on Packagist
Allows to easily create, process and reuse HTML forms
Latest stable
v8.1.11
Last release 4 days ago
12 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Rarely documented
notes for 5 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
759 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
bug #42260 Fix return types for PHP 8.1 (derrabus)
Changelog (https://github.com/symfony/form/compare/v4.4.29...v4.4.30)
bug #42150 Fix 'invalid_message' use in multiple ChoiceType (alexandre-daubois)
Changelog (https://github.com/symfony/form/compare/v4.4.26...v4.4.27)
Changelog (https://github.com/symfony/form/compare/v4.4.25...v4.4.26) * no significant changes
Changelog (https://github.com/symfony/form/compare/v4.4.25...v4.4.26)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
bug #41000 Use !isset for checks cause this doesn't falsely include 0 (Kai Dederichs)
Changelog (https://github.com/symfony/form/compare/v4.4.24...v4.4.25)
Changelog (https://github.com/symfony/form/compare/v4.4.23...v4.4.24) * no significant changes
Changelog (https://github.com/symfony/form/compare/v4.4.23...v4.4.24)
Changelog (https://github.com/symfony/form/compare/v4.4.21...v4.4.22) * no significant changes
Changelog (https://github.com/symfony/form/compare/v4.4.21...v4.4.22)
bug #40598 error if the input string couldn't be parsed as a date (xabbuh)
Changelog (https://github.com/symfony/form/compare/v4.4.20...v4.4.21)
bug #40258 Ignoring invalid forms from delete_empty behavior in CollectionType (yceruto)
Changelog (https://github.com/symfony/form/compare/v4.4.19...v4.4.20)
bug #39633 Drop int return type from parseFilesize() (LukeTowers)
Changelog (https://github.com/symfony/form/compare/v4.4.18...v4.4.19)
bug #39341 Fixed StringUtil::trim() to trim ZERO WIDTH SPACE (U+200B) and SOFT HYPHEN (U+00AD) (pmishev)
Changelog (https://github.com/symfony/form/compare/v4.4.17...v4.4.18)
bug #39068 Silent deprecation triggered by libxml_disable_entity_loader (jderusse)
Changelog (https://github.com/symfony/form/compare/v4.4.16...v4.4.17)
Changelog (https://github.com/symfony/form/compare/v4.4.15...v4.4.16) * no changes
Changelog (https://github.com/symfony/form/compare/v4.4.15...v4.4.16)
bug #38380 propagate validation groups to subforms (johanderuijter, xabbuh)
Changelog (https://github.com/symfony/form/compare/v4.4.14...v4.4.15)
bug #37837 Fix custom formats deprecation with HTML5 widgets (fancyweb)
Changelog (https://github.com/symfony/form/compare/v4.4.13...v4.4.14)
Changelog (https://github.com/symfony/form/compare/v4.4.12...v4.4.13) * no changes
Changelog (https://github.com/symfony/form/compare/v4.4.12...v4.4.13)
bug #37767 fix mapping errors from unmapped forms (xabbuh)
Changelog (https://github.com/symfony/form/compare/v4.4.11...v4.4.12)
bug #37521 Fix ChoiceType translation domain (VincentLanglet)
Changelog (https://github.com/symfony/form/compare/v4.4.10...v4.4.11)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
using different values for the "model_timezone" and "view_timezone" options of the TimeType without configuring a reference date is deprecated
WeekTypeTimeType without configuring a
reference date is deprecatedint or float as data for the NumberType when the input option is set to stringFormIntegrationTestCase::setUp(), TypeTestCase::setUp() and TypeTestCase::tearDown() without the void return-type is deprecated.@finalvalidate option to SubmitType to toggle the browser built-in form validation.alpha3 option to LanguageType and CountryType to use alpha3 instead of alpha2 codesNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Using the format option of DateType and DateTimeType when the html5 option is enabled is deprecated.
added a symbol option to the PercentType that allows to disable or customize the output of the percent character
Using the format option of DateType and DateTimeType when the html5 option is enabled is deprecated.
Using names for buttons that do not start with a letter, a digit, or an underscore is deprecated and will lead to an exception in 5.0.
Using names for buttons that do not contain only letters, digits, underscores, hyphens, and colons is deprecated and will lead to an exception in 5.0.
added html5 option to NumberType that allows to render type="number" input fields
deprecated using the date_format, date_widget, and time_widget options of the DateTimeType when the widget
option is set to single_text
added block_prefix option to BaseType.
added help_html option to display the help text as HTML.
FormError doesn't implement Serializable anymore
FormDataCollector has been marked as final
added label_translation_parameters, attr_translation_parameters, help_translation_parameters options
to FormType to pass translation parameters to form labels, attributes (placeholder and title) and help text respectively.
The passed parameters will replace placeholders in translation messages.
class OrderType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('comment', TextType::class, [
'label' => 'Comment to the order to %company%',
'label_translation_parameters' => [
'%company%' => 'Acme',
],
'help' => 'The address of the %company% is %address%',
'help_translation_parameters' => [
'%company%' => 'Acme Ltd.',
'%address%' => '4 Form street, Symfonyville',
],
])
}
}
added the input_format option to DateType, DateTimeType, and TimeType to specify the input format when setting
the input option to string
dispatch PreSubmitEvent on form.pre_submit
dispatch SubmitEvent on form.submit
dispatch PostSubmitEvent on form.post_submit
dispatch PreSetDataEvent on form.pre_set_data
dispatch PostSetDataEvent on form.post_set_data
added an input option to NumberType
removed default option grouping in TimezoneType, use group_by instead
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The getExtendedType() method of the FormTypeExtensionInterface is deprecated and will be removed in 5.0. Type extensions must implement the static get…
The getExtendedType() method of the FormTypeExtensionInterface is deprecated and will be removed in 5.0. Type
extensions must implement the static getExtendedTypes() method instead and return an iterable of extended types.
Before:
class FooTypeExtension extends AbstractTypeExtension
{
public function getExtendedType()
{
return FormType::class;
}
// ...
}
After:
class FooTypeExtension extends AbstractTypeExtension
{
public static function getExtendedTypes(): iterable
{
return [FormType::class];
}
// ...
}
deprecated the $scale argument of the IntegerToLocalizedStringTransformer
added Symfony\Component\Form\ClearableErrorsInterface
deprecated calling FormRenderer::searchAndRenderBlock for fields which were already rendered
added a cause when a CSRF error has occurred
deprecated the scale option of the IntegerType
removed restriction on allowed HTTP methods
deprecated the regions option of the TimezoneType
Nothing published for this version
One column per quarter.