robote13 / countries-list
The list of countries with ISO 3166-1 names and codes, which uses as array keys.
Installs: 21
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-12-18 23:21:47 UTC
README
The list of countries with ISO 3166-1 names and codes, which uses as array keys.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist robote13/countries-list "*"
or add
"robote13/countries-list": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \robote13\countries_list\AutoloadExample::widget(); ?>```