Join 10350+ others. No spamming.
I promise!

Follow us at github.



umpirsky/country-list

2860

umpirsky / country-list

HTML

:globe_with_meridians: List of all countries with names and ISO 3166-1 codes in all languages and data formats.


READ ME

Country List

List of all countries with names and ISO 3166-1 codes in all languages and all data formats.

Formats Available

  • Text
  • JSON
  • YAML
  • XML
  • HTML
  • CSV
  • SQL
    • MySQL
    • PostgreSQL
    • SQLite
    • SQL Server
  • PHP

Multilingual

All formats are also available in multiple languages, please find full language list here.

Where Does the Data Come From?

For now, I have implemented two data importers:

  • ICU (imports data from ICU)
  • CLDR (imports data from CLDR)

So, if country list changes in the future, it will be very easy to update our country list.

Build

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:

$ composer install
$ ./console build