Emoji flag in the Symfony CountryType

🔥 Emojis are part of our way of communicating, what about adding them to your Symfony form when a user needs to select a country, something like:

It’s easy to create an emoji from the ISO country code, check this comment.

TL;DR: In PHP the code is

--

--

Fullstack Developer- certified Symfony 4,5 and certified AWS Solution Architect - Freelancer - Remote Worker

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Smaine Milianni

Fullstack Developer- certified Symfony 4,5 and certified AWS Solution Architect - Freelancer - Remote Worker