umpirsky / country-list
List of all countries with names and ISO 3166-1 codes in all languages and data formats.
Installs: 7 749 119
Dependents: 54
Suggesters: 1
Security: 0
Stars: 5 164
Watchers: 154
Forks: 1 553
Open Issues: 11
Language:HTML
Requires
- php: ^7.0 || ^8.0
Requires (Dev)
- slowprog/composer-copy-file: ^0.2
- symfony/intl: ^4.3
- umpirsky/list-generator: ^1.2
This package is not auto-updated.
Last update: 2024-10-04 10:15:51 UTC
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
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.
Multilingual
All formats are also available in multiple languages, please find full language list here.
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:
$ 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