Skip to content

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

License

Notifications You must be signed in to change notification settings

jeremycab/country-list

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 --dev
$ console build

Provinces

If you are looking for the list of provinces of the world, check this gist.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published