List of all countries with names and ISO 3166-1 codes in all languages and data formats.
List of all countries with names and ISO 3166-1 codes in all languages and all data formats.
composer require umpirsky/country-list
If you intend to use the package with PHP see this.
All formats are also available in multiple languages, please find full language list here.
Country list is available out of the box, but if you want to submit patches, add new formats, update data source or contribute in any other way, you will probably want to rebuild the list:
$ docker-compose run php /var/www/html/bin/build -v
If you need to install composer, get it from https://getcomposer.org/ installation instructions can be found here: https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx