A fieldtype that let's you select a country from a list maintained by the league/iso3166 package.
First add this repo to your composer.json in ProcessWire:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/LostKobrakai/FieldtypeCountrySelect"
}
]
}
Then run the following to download the module and it's dependency:
composer require lostkobrakai/fieldtype-country-select
Install the module as always via the backend.
- ProcessWire
>= 2.8.10
|>= 3.0.10
- PHP
>= 5.5