Skip to content
This repository has been archived by the owner on Dec 15, 2019. It is now read-only.
/ phpcountry Public archive

[Deprecated] Get localized country names from ISO 3166-1 codes

Notifications You must be signed in to change notification settings

mreg-archive/phpcountry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: This package is deprecated and will not be updated. Please use the symfony Intl component instead.

PHP Country

Get localized country names from ISO 3166-1 codes

Usage

$country = new \iio\phpcountry\Country;

// only needed if you do not want phpcountry to use the
// current locale setting
$country->setLang('en');

// outputs: Sweden
echo $country->translate('se');

About

[Deprecated] Get localized country names from ISO 3166-1 codes

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages