8000 [Form] Remove dependency on symfony/intl · Issue #39596 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] Remove dependency on symfony/intl #39596

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Nyholm opened this issue Dec 21, 2020 · 2 comments · Fixed by #40298
Closed

[Form] Remove dependency on symfony/intl #39596

Nyholm opened this issue Dec 21, 2020 · 2 comments · Fixed by #40298

Comments

@Nyholm
Copy link
Member
Nyholm commented Dec 21, 2020

The form component have a hard dependency on symfony/intl. I like that component, but it feels a bit overkill to download 18MB of code for if you only are creating a small form.

Currently, there is only the LocaleType, CountryType, CurrenyType, LanguageType and TimezoneType that is using symfony/intl. I suggest that we should remove Form component's dependency in Intl in Symfony 6 to make the form component lighter.

@carsonbot carsonbot added the Form label Dec 21, 2020
@ro0NL
Copy link
Contributor
ro0NL commented Dec 21, 2020

See #29229

i think now after #38974 the road is open :)

@nicolas-grekas
Copy link
Member

This should be for v5.x actually, with some potential deprecations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants
0