openclerk/country-list

There is no license information available for the latest version (1.0.0) of this package.

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

Installs: 7 420

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Language:HTML

1.0.0 2015-02-20 02:09 UTC

This package is auto-updated.

Last update: 2024-12-14 10:52:12 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 en rather than en_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