https://github.com/umpirsky/country-list
:globe_with_meridians: List of all countries with names and ISO 3166-1 codes in all languages and data formats.
https://github.com/umpirsky/country-list
Last synced: 10 months ago
JSON representation
:globe_with_meridians: List of all countries with names and ISO 3166-1 codes in all languages and data formats.
- Host: GitHub
- URL: https://github.com/umpirsky/country-list
- Owner: umpirsky
- License: mit
- Created: 2012-03-02T11:23:47.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2022-03-11T23:49:21.000Z (over 4 years ago)
- Last Synced: 2025-02-24T10:03:02.121Z (over 1 year ago)
- Language: HTML
- Homepage:
- Size: 54.6 MB
- Stars: 5,194
- Watchers: 154
- Forks: 1,547
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-php - Country List - A list of all countries with names and ISO 3166-1 codes. (Table of Contents / Geolocation)
- awesome-php - Country List - A list of all countries with names and ISO 3166-1 codes. (Table of Contents / Geolocation)
- awesome-php-cn - 官网
- awesome-php-cn - Country List - 所有的国家名称的列表和ISO 3166 - 1码. (目录 / 地理位置 Geolocation)
- awesome-projects - Country List - A list of all countries with names and ISO 3166-1 codes. (PHP / Geolocation)
- awesome-php - Country List - 所有带有名称和ISO 3166-1编码的国家列表 (杂项 Miscellaneous)
- starred-awesome - country-list - :globe_with_meridians: List of all countries with names and ISO 3166-1 codes in all languages and data formats. (HTML)
- awesome-php - Country List - A list of all countries with names and ISO 3166-1 codes. (Table of Contents / Geolocation)
- awesome-ecommerce - ISO 3166 - List of all countries with names and ISO 3166-1 codes in all languages and data formats. (Tools)
- awesome-world - Country List :octocat: - list of all countries with names and ISO 3166-1 codes in all languages and data formats (JSON, YAML, XML, CSV, SQL etc.) (World Data (Countries, Cities, etc.) / More)
- awesome-php - Country List - List of all countries with names and ISO 3166-1 codes in all languages and data formats (MIT) (Table of Contents / Geolocation)
- awesome-github-projects - country-list - :globe_with_meridians: List of all countries with names and ISO 3166-1 codes in all languages and data formats. ⭐5,246 `HTML` ⚡ (⚙️ Backend & APIs)
- fucking-awesome-php - Country List - A list of all countries with names and ISO 3166-1 codes. (Table of Contents / Geolocation)
README
symfony upgrade fixer •
twig gettext extractor •
wisdom •
centipede •
permissions handler •
extraload •
gravatar •
locurro •
country list •
transliterator
Country List
============
List of all countries with names and ISO 3166-1 codes in all languages and all data formats.
Install
-------------
```shell
composer require umpirsky/country-list
```
Formats Available
-----------------
- Text
- JSON
- YAML
- XML
- HTML
- CSV
- SQL
* MySQL
* PostgreSQL
* SQLite
- PHP
- XLIFF
If you intend to use the package with PHP see [this](https://github.com/umpirsky/country-list/blob/master/bin/build#L11-L19).
Multilingual
------------
All formats are also available in multiple languages, please find full language list [here](https://github.com/umpirsky/country-list/tree/master/data).
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:
```bash
$ 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
Other Interesting Lists
-----------------------
* [Currency List](https://github.com/umpirsky/currency-list)
* [Language List](https://github.com/umpirsky/language-list)
* [Locale List](https://github.com/umpirsky/locale-list)
* [TLD List](https://github.com/umpirsky/tld-list)