Skip to content

fkomaralp/country-list

 
 

Repository files navigation

Country & Language List

List of all countries and languages 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 You Could Use this Data?

You could use this data freely in any project where you need to make language or country select.

Please see PHP examples (in Russian language):

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 & Language 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

Credits

Original project and idea was founded by Saša Stamenković

I just have added language list to the project, feel free to comment and submit your requests.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 74.9%
  • PHP 25.1%