PHPackages                             ezitisitis/laravel-countries - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ezitisitis/laravel-countries

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ezitisitis/laravel-countries
============================

Bundle for Laravel, which provides ISO 3166\_2, 3166\_3, currency, Capital, and more data for all countries

1.4.0(3w ago)0476↓92.3%MITPHP

Since Jan 4Pushed 3w ago1 watchersCompare

[ Source](https://github.com/ezitisitis/laravel-countries)[ Packagist](https://packagist.org/packages/ezitisitis/laravel-countries)[ RSS](/packages/ezitisitis-laravel-countries/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

Laravel Countries
=================

[](#laravel-countries)

[![Packagist Version](https://camo.githubusercontent.com/9f4574c712111b8880abd80623b978b2f7af2a2753e8589757a9773b3546a43b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f657a69746973697469732f6c61726176656c2d636f756e7472696573)](https://camo.githubusercontent.com/9f4574c712111b8880abd80623b978b2f7af2a2753e8589757a9773b3546a43b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f657a69746973697469732f6c61726176656c2d636f756e7472696573)[![GitHub License](https://camo.githubusercontent.com/63f43aca1932ac9e47648e9c2bb751df2750bdb71c01ea5b617b0ef1d54eaed6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f657a69746973697469732f6c61726176656c2d636f756e7472696573)](https://camo.githubusercontent.com/63f43aca1932ac9e47648e9c2bb751df2750bdb71c01ea5b617b0ef1d54eaed6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f657a69746973697469732f6c61726176656c2d636f756e7472696573)

Bundle for Laravel, which provides ISO 3166\_2, 3166\_3, currency, Capital, and more data for all countries

**Notice: this version is for Laravel 8 and above**

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

[](#installation)

Add `ezitisitis/laravel-countries` to your `composer.json` by running:

```
composer require ezitisitis/laravel-countries
```

Run installation command:

```
php artisan countries:install
```

**NB** Installation command supports `--force` flag/option to force publishing

Run migration command:

```
php artisan migrate
```

Model and data
--------------

[](#model-and-data)

To change model table go to `config/countries.php` and change `table_name` value.

**NB** You will need to make sure that old table is removed.

Now you can seed database by executing:

```
php artisan db:seed --class=CountriesSeeder
```

Or by adding seeder to your DatabaseSeeder:

```
$this->call(CountriesSeeder::class);
```

and executing:

```
php artisan db:seed
```

Credits
-------

[](#credits)

- [Marks Bogdanovs](https://www.ezitisitis.com)

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance95

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~250 days

Recently: every ~313 days

Total

6

Last Release

24d ago

### Community

Maintainers

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

---

Top Contributors

[![ezitisitis](https://avatars.githubusercontent.com/u/6075434?v=4)](https://github.com/ezitisitis "ezitisitis (14 commits)")

---

Tags

laravelcountriesiso\_3166\_2iso\_3166\_3

### Embed Badge

![Health badge](/badges/ezitisitis-laravel-countries/health.svg)

```
[![Health](https://phpackages.com/badges/ezitisitis-laravel-countries/health.svg)](https://phpackages.com/packages/ezitisitis-laravel-countries)
```

###  Alternatives

[webpatser/laravel-countries

Modern Laravel Countries package providing ISO 3166-2, ISO 3166-3, currency, capital and more for all countries. Compatible with Laravel 11.x, 12.x, and 13.x.

8602.9M10](/packages/webpatser-laravel-countries)[firefly-iii/data-importer

Firefly III Data Import Tool.

8045.8k](/packages/firefly-iii-data-importer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[bhuvidya/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166\_2, 3166\_3, currency, Capital and more for all countries. Bug kudos to Christoph Kempen, on whose work this package is heavily based (webpatser/laravel-countries).

3330.6k1](/packages/bhuvidya-laravel-countries)[ronasit/laravel-helpers

Provided helpers function and some helper class.

2085.6k31](/packages/ronasit-laravel-helpers)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)

PHPackages © 2026

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