PHPackages                             tpweb/countrylist - 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. tpweb/countrylist

ActiveLibrary

tpweb/countrylist
=================

PHP Library with full country list

0.2.0(5y ago)0371MITPHPPHP &gt;=5.3

Since Jan 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/TPWeb/countrylist)[ Packagist](https://packagist.org/packages/tpweb/countrylist)[ Docs](http://www.tpweb.org/my-projects/php-countrylist/)[ RSS](/packages/tpweb-countrylist/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

PHP Country list array
======================

[](#php-country-list-array)

[![Total Downloads](https://camo.githubusercontent.com/9b70beab94c9403bb44a9557adefba2b6500d08b9bc253ac91982569c694e136/68747470733a2f2f706f7365722e707567782e6f72672f74707765622f636f756e7472796c6973742f642f746f74616c2e737667)](https://packagist.org/packages/tpweb/countrylist)[![Latest Stable Version](https://camo.githubusercontent.com/a0151b4e67b74dd86815c1f6f8dba57738a32710a83f62eafeb46761d0678cc3/68747470733a2f2f706f7365722e707567782e6f72672f74707765622f636f756e7472796c6973742f762f737461626c652e737667)](https://packagist.org/packages/tpweb/countrylist)[![Latest Unstable Version](https://camo.githubusercontent.com/5e9ac3eb53f9c712ff83974df6947aa7da36ef3170b7609fa161b31a4e5a6967/68747470733a2f2f706f7365722e707567782e6f72672f74707765622f636f756e7472796c6973742f762f756e737461626c652e737667)](https://packagist.org/packages/tpweb/countrylist)[![License](https://camo.githubusercontent.com/7df86f63618cd59fd707a3f21e4fc912d24902400076cae6eab6803afba6200b/68747470733a2f2f706f7365722e707567782e6f72672f74707765622f636f756e7472796c6973742f6c6963656e73652e737667)](https://packagist.org/packages/tpweb/countrylist)

Composer
--------

[](#composer)

`"tpweb/countrylist": "dev-master"`

Laravel: config/app.php
-----------------------

[](#laravel-configappphp)

` 'providers' =&gt; \[ TPWeb\\CountryList\\CountryListServiceProvider::class, \],

'aliases' =&gt; \[ 'CountryList' =&gt; TPWeb\\VestaCP\\CountryListFacade::class, \] `

Usage:
------

[](#usage)

`\TPWeb\CountryList\CountryList::countryArray() \TPWeb\CountryList\CountryList::europeCountryArray()`

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~880 days

Total

3

Last Release

2009d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/836a5bdb48e67021dd11b14934c9c13e03b6072fefd5b033d6bdce157103306c?d=identicon)[tpweb](/maintainers/tpweb)

---

Top Contributors

[![madeITBelgium](https://avatars.githubusercontent.com/u/20304892?v=4)](https://github.com/madeITBelgium "madeITBelgium (2 commits)")[![tjebbeke](https://avatars.githubusercontent.com/u/6740823?v=4)](https://github.com/tjebbeke "tjebbeke (2 commits)")[![TPWeb](https://avatars.githubusercontent.com/u/6589788?v=4)](https://github.com/TPWeb "TPWeb (2 commits)")

---

Tags

countrycountry list

### Embed Badge

![Health badge](/badges/tpweb-countrylist/health.svg)

```
[![Health](https://phpackages.com/badges/tpweb-countrylist/health.svg)](https://phpackages.com/packages/tpweb-countrylist)
```

###  Alternatives

[components/flag-icon-css

A curated collection of all country flags in SVG — plus the CSS for easier integration.

12.0k1.6M23](/packages/components-flag-icon-css)[rinvex/countries

Rinvex Countries is a simple and lightweight package for retrieving country details with flexibility. A whole bunch of data including name, demonym, capital, iso codes, dialling codes, geo data, currencies, flags, emoji, and other attributes for all 250 countries worldwide at your fingertips.

1.7k7.4M48](/packages/rinvex-countries)[jackocnr/intl-tel-input

A JavaScript plugin for entering and validating international telephone numbers

8.2k243.6k2](/packages/jackocnr-intl-tel-input)[annexare/countries-list

Continents &amp; countries: ISO 3166-1 alpha-2 code, name, ISO 639-1 languages, capital, currency, native name, phone. JSON, CSV and SQL.

1.3k220.8k1](/packages/annexare-countries-list)[codezero/laravel-localized-routes

A convenient way to set up, manage and use localized routes in a Laravel app.

543638.1k4](/packages/codezero-laravel-localized-routes)[dougsisk/laravel-country-state

Country &amp; state helper for Laravel.

1681.7M](/packages/dougsisk-laravel-country-state)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
