PHPackages                             vcarreira/country-list - 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. vcarreira/country-list

ActiveLibrary

vcarreira/country-list
======================

Ease access to localized countries provided by umpirsky package

1.0(9y ago)15.7k↑200%2MITPHPPHP &gt;= 5.5.9

Since Nov 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/vcarreira/country-list)[ Packagist](https://packagist.org/packages/vcarreira/country-list)[ Docs](http://github.com/vcarreira/country-list)[ RSS](/packages/vcarreira-country-list/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

CountryList
===========

[](#countrylist)

A simple Laravel 5 service provider for the [umpirsky/country-list](https://github.com/umpirsky/country-list) localized countries arrays.

Installation
------------

[](#installation)

Add the following line to the `require` section of `composer.json`:

```
{
    "require": {
        "vcarreira/country-list": "~1.0"
    }
}
```

Setup
-----

[](#setup)

In `/config/app.php`, add the following to `providers`:

```
CountryList\CountryListServiceProvider::class,

```

and the following to `aliases`:

```
'CountryList' => CountryList\Facades\CountryListFacade::class,

```

Usage
-----

[](#usage)

To use the service within your app, you need to retrieve it from the [Laravel IoC Container](http://laravel.com/docs/ioc). The following example uses the `app` helper to retrieve the list of countries in Portuguese.

```
    $countries = app('countrylist')->all('pt_PT');
```

If the facade is registered within the `aliases` section of the application configuration, you can also use the following code:

```
  $countries = CountryList::all('pt_PT');
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

3474d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/defcf2aa7b9b4f1ad91ff5e8d5286bcf9b2caa5fff6f93bd74af45526d9087a9?d=identicon)[vcarreira](/maintainers/vcarreira)

---

Top Contributors

[![vcarreira](https://avatars.githubusercontent.com/u/2463328?v=4)](https://github.com/vcarreira "vcarreira (2 commits)")

---

Tags

laravelcountrieslaravel 5country list

### Embed Badge

![Health badge](/badges/vcarreira-country-list/health.svg)

```
[![Health](https://phpackages.com/badges/vcarreira-country-list/health.svg)](https://phpackages.com/packages/vcarreira-country-list)
```

###  Alternatives

[monarobase/country-list

List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel

2672.7M7](/packages/monarobase-country-list)[dougsisk/laravel-country-state

Country &amp; state helper for Laravel.

1681.7M](/packages/dougsisk-laravel-country-state)[io238/laravel-iso-countries

Ready-to-use Laravel models and relations for country (ISO 3166), language (ISO 639-1), and currency (ISO 4217) information with multi-language support.

5462.3k](/packages/io238-laravel-iso-countries)[galahad/laravel-addressing

Laravel package providing addressing functionality

70316.6k](/packages/galahad-laravel-addressing)[dipeshsukhia/laravel-country-state-city-data

Country State City Data Provider

8230.8k](/packages/dipeshsukhia-laravel-country-state-city-data)

PHPackages © 2026

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