PHPackages                             mlocati/countrynames - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. mlocati/countrynames

ActiveLibrary[Localization &amp; i18n](/categories/localization)

mlocati/countrynames
====================

A PHP library to work with localized country names

1.0.0(9y ago)36.4kMITPHPPHP &gt;=5.3

Since Nov 21Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mlocati/CountryNames)[ Packagist](https://packagist.org/packages/mlocati/countrynames)[ Docs](https://github.com/mlocati/countrynames)[ RSS](/packages/mlocati-countrynames/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP library to recognize localized country names thanks to Unicode CLDR
=======================================================================

[](#php-library-to-recognize-localized-country-names-thanks-to-unicode-cldr)

Features
--------

[](#features)

- Understand a lot of languages (almost 150 - but some language may not be complete).
- Works with PHP 5.3+
- Requires the mb\_string PHP extension (or any package that implements mb\_strtolower for UTF-8)

Install
-------

[](#install)

### With composer

[](#with-composer)

`composer require mlocati/countrynames`

### Without composer

[](#without-composer)

```
