Skip to content

nimasdj/iso3166

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iso3166

ISO 3166-1 alpha-2 mapping:

echo Iso3166\Codes::map('FR');
// 'France'

Plus one super handy helper:

echo Iso3166\Codes::select('class', 'name', 'FR');

will output:

<select class="class" name="name">
  <option value="AF">Afghanistan</option>
  ...
  <option value="FR" selected>France</option>
  ...
</select>

About

ISO 3166-1 alpha-2 mapping

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%