This bundle integrate International Telephone Input. into symfony2 as a form type.
You can view a live demo and some examples of how to use the various options here: http://jackocnr.com/intl-tel-input.html.
Add the intl-tel-input-bundle in your composer.json
file:
{
"require": {
"SpikeO/intl-tel-input-bundle": "dev-master"
}
}
Now tell composer to download the bundle by running the command:
$ php composer.phar update SpikeO/intl-tel-input-bundle
Composer will install the bundle in your project's vendor
directory.