PHPackages                             drnd-dev/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. [Localization &amp; i18n](/categories/localization)
4. /
5. drnd-dev/laravel-countries

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

drnd-dev/laravel-countries
==========================

A comprehensive package for managing country data in Laravel applications, including multilingual support, geographic coordinates, and detailed metadata for seamless integration with Laravel.

5.1.1(2mo ago)0856MITPHPPHP ^8.2CI passing

Since Nov 20Pushed 2mo agoCompare

[ Source](https://github.com/drnd-dev/laravel-countries)[ Packagist](https://packagist.org/packages/drnd-dev/laravel-countries)[ Docs](https://drnd-dev.github.io/laravel-countries/)[ RSS](/packages/drnd-dev-laravel-countries/feed)WikiDiscussions 5.x Synced 3w ago

READMEChangelog (2)Dependencies (13)Versions (26)Used By (0)

 [![Hero Map](./docs/assets/hero-map.webp)](./docs/assets/hero-map.webp)

[![release](https://camo.githubusercontent.com/3acbf56eee9327d8ae306b5adebb18cf73a0d0b605935af016b735873f0694cf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f64726e642d6465762f6c61726176656c2d636f756e74726965733f7374796c653d666c61742d73717561726526636f6c6f723d253233666636663330)](https://camo.githubusercontent.com/3acbf56eee9327d8ae306b5adebb18cf73a0d0b605935af016b735873f0694cf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f64726e642d6465762f6c61726176656c2d636f756e74726965733f7374796c653d666c61742d73717561726526636f6c6f723d253233666636663330)[![size](https://camo.githubusercontent.com/3e36f219a1a9099180ddfe5f76dd244d8b55129f2fb2bde4f3fa3e30d72eab54/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f64726e642d6465762f6c61726176656c2d636f756e74726965733f6c6162656c3d73697a65267374796c653d666c61742d73717561726526636f6c6f723d253233666636663330)](https://camo.githubusercontent.com/3e36f219a1a9099180ddfe5f76dd244d8b55129f2fb2bde4f3fa3e30d72eab54/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f64726e642d6465762f6c61726176656c2d636f756e74726965733f6c6162656c3d73697a65267374796c653d666c61742d73717561726526636f6c6f723d253233666636663330)[![Packagist Downloads](https://camo.githubusercontent.com/c2b0bc0dd0506da2e903b0cc4ffed52c3ace540b24a750a15f70009593d2aeec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64726e642d6465762f6c61726176656c2d636f756e74726965733f7374796c653d666c61742d73717561726526636f6c6f723d253233666636663330)](https://camo.githubusercontent.com/c2b0bc0dd0506da2e903b0cc4ffed52c3ace540b24a750a15f70009593d2aeec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64726e642d6465762f6c61726176656c2d636f756e74726965733f7374796c653d666c61742d73717561726526636f6c6f723d253233666636663330)[![Packagist Stars](https://camo.githubusercontent.com/c33b4bd2d98a0f31355acfbb921cc1b04a000ada68b0288dcc641c14eb3a3b2b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f64726e642d6465762f6c61726176656c2d636f756e74726965733f7374796c653d666c61742d73717561726526636f6c6f723d253233666636663330)](https://camo.githubusercontent.com/c33b4bd2d98a0f31355acfbb921cc1b04a000ada68b0288dcc641c14eb3a3b2b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f64726e642d6465762f6c61726176656c2d636f756e74726965733f7374796c653d666c61742d73717561726526636f6c6f723d253233666636663330)[![Packagist License](https://camo.githubusercontent.com/daf9826624cc178e54b161e3d78b6eeb4b24ca3ef4bbd4a43d2b662e6158d80f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f64726e642d6465762f6c61726176656c2d636f756e74726965733f7374796c653d666c61742d73717561726526636f6c6f723d253233666636663330)](https://camo.githubusercontent.com/daf9826624cc178e54b161e3d78b6eeb4b24ca3ef4bbd4a43d2b662e6158d80f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f64726e642d6465762f6c61726176656c2d636f756e74726965733f7374796c653d666c61742d73717561726526636f6c6f723d253233666636663330)

### [Full Documentation](https://drnd-dev.github.io/laravel-countries/)

[](#full-documentation)

Very short description
----------------------

[](#very-short-description)

[![My Logo](./docs/assets/logo.png)](./docs/assets/logo.png)

Laravel Countries is a package that provides everything you need to kickstart a new project with comprehensive country information, including translations. Optimized for Laravel, it ensures efficient access and management of country data.

The package stores all data directly in your database, allowing you to easily link it to any other table in a simple and familiar way using Laravel’s Eloquent ORM.

This is a continuation from  package with a few updates:

- Laravel 13.x support added.
- Added native argument and return types.
- Dropped Laravel 10, 11 support.
- Added PHPStan and Laravel pint.

🌍 Available Languages
---------------------

[](#-available-languages)

We currently support the following languages:

LanguageFlagCountryNumber of CountriesArabic🇸🇦Saudi Arabia25Dutch🇳🇱Netherlands3English🇬🇧United Kingdom67German🇩🇪Germany6Italian🇮🇹Italy4Latvian🇮🇹Latvia1Portuguese🇧🇷Brazil9Russian🇷🇺Russia4Spanish🇪🇸Spain21🚀 Getting Started
-----------------

[](#-getting-started)

Install the package quickly via Composer:

```
composer require drnd-dev/laravel-countries
```

And get started with Artisan

```
php artisan w-countries:install
```

Usage
-----

[](#usage)

You can access all the information in the database with a simple query

```
use  Lwwcas\LaravelCountries\Models\Country;

Country::whereIso('BR')->first();
Country::whereIsoAlpha3('BRA')->first();
Country::whereSlug('brasil')->first();
```

Credits
-------

[](#credits)

- [Lucas Duarte](https://github.com/lwwcas)
- [EdgarsN](https://github.com/edgarsn)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance83

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 67.2% 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 ~82 days

Recently: every ~98 days

Total

25

Last Release

88d ago

Major Versions

3.5.2 → 4.11.0.12024-11-01

4.12.0.1 → 5.0.02026-04-13

PHP version history (5 changes)3.0.0PHP ^7.3|^8.0

3.4.0PHP ^7.3|^8.0|^8.1|^8.2

4.11.0.1PHP ^8.0|^8.1|^8.2

4.12.0.1PHP ^8.2|^8.3

5.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/82c54a0f95c6a5b493cb17654e1cba39360065a5df5dcaeb19da62435924d7c1?d=identicon)[drnd-dev](/maintainers/drnd-dev)

---

Top Contributors

[![lwwcas](https://avatars.githubusercontent.com/u/19727953?v=4)](https://github.com/lwwcas "lwwcas (80 commits)")[![edgarsn](https://avatars.githubusercontent.com/u/6625918?v=4)](https://github.com/edgarsn "edgarsn (31 commits)")[![daniel-de-wit](https://avatars.githubusercontent.com/u/3015394?v=4)](https://github.com/daniel-de-wit "daniel-de-wit (3 commits)")[![muhannadalhariri](https://avatars.githubusercontent.com/u/37214752?v=4)](https://github.com/muhannadalhariri "muhannadalhariri (1 commits)")[![myindexlike](https://avatars.githubusercontent.com/u/16356381?v=4)](https://github.com/myindexlike "myindexlike (1 commits)")[![vadimwe](https://avatars.githubusercontent.com/u/2635452?v=4)](https://github.com/vadimwe "vadimwe (1 commits)")[![hnasiry](https://avatars.githubusercontent.com/u/14115146?v=4)](https://github.com/hnasiry "hnasiry (1 commits)")[![mucenica-bogdan](https://avatars.githubusercontent.com/u/846097?v=4)](https://github.com/mucenica-bogdan "mucenica-bogdan (1 commits)")

---

Tags

laravelgeolocationmultilingualcountrieslaravel-packagegeographycoordinatesISO codesgeojsonlwwcaslucas duartecountry datasvg mapsworld countriesEdgarsNEdgars Neimanis

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[lwwcas/laravel-countries

A comprehensive package for managing country data in Laravel applications, including multilingual support, geographic coordinates, and detailed metadata for seamless integration with Laravel.

12775.6k](/packages/lwwcas-laravel-countries)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M246](/packages/laravel-ai)[spatie/laravel-health

Monitor the health of a Laravel application

87912.0M177](/packages/spatie-laravel-health)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[illuminate/queue

The Illuminate Queue package.

20432.6M1.7k](/packages/illuminate-queue)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1613.3k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

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