NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #333 most downloaded on Packagist
Allows to easily create, process and reuse HTML forms
Last release 4 days ago
29 Sep 2026
Ships fairly regularly
a new release about every 2 weeks
Rarely documented
notes for 3 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
748 releases · first in 2011
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
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 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
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
Your coding agent can read these notes before it upgrades. Set up the MCP server →