openclerk / country-list
List of all countries with names and ISO 3166-1 codes in many languages and data formats
Installs: 7 559
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Language:HTML
pkg:composer/openclerk/country-list
Requires (Dev)
- umpirsky/country-list: dev-master
This package is auto-updated.
Last update: 2025-10-14 12:28:37 UTC
README
List of all countries with names and ISO 3166-1 codes in many languages and many data formats.
This uses all of the ICU data from umpirsky/country-list but reduces the size of the component by:
- Not including language dialects (e.g. just
enrather thanen_GB,en_AU,en_NZ, ...) - Only including ISO 639-1 languages, which covers the world major's languages
- Not including CLDR data, which includes country codes such as
Unknown or Invalid Region (ZZ)
Installing
Include openclerk/country-list as a requirement in your project composer.json,
and run composer update to install it into your project:
{
"require": {
"openclerk/country-list": "~1.0"
}
}
You can then import the files through a number of different ways, e.g.
require(__DIR__ . "/vendor/openclerk/country-list/country/en/country.txt");
Building
Building requires composer and grunt:
npm install
composer update
grunt