PHPackages                             involved-group/laravel-lang-country - 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. involved-group/laravel-lang-country

Abandoned → [stefro/laravel-lang-country](/?search=stefro%2Flaravel-lang-country)Library[Localization &amp; i18n](/categories/localization)

involved-group/laravel-lang-country
===================================

Setting the locale is not enough most of the time, some countries use more than one languages. Also, different countries use different date notation formats, names, flags and currencies. This package is here to help you with that!

4.2(3w ago)2995.3k30MITPHPPHP ^8.1|^8.2|^8.3|^8.4|^8.5CI failing

Since Apr 29Pushed 3w ago6 watchersCompare

[ Source](https://github.com/stefro/laravel-lang-country)[ Packagist](https://packagist.org/packages/involved-group/laravel-lang-country)[ Docs](https://github.com/stefro/laravel-lang-country)[ RSS](/packages/involved-group-laravel-lang-country/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (14)Versions (75)Used By (0)

LaravelLangCountry
==================

[](#laravellangcountry)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3a2b904e520a2dec63b827152728993bc673c2022c10deac0b3839cb9729d3f7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73746566726f2f6c61726176656c2d6c616e672d636f756e7472792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stefro/laravel-lang-country)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

[![laravel-langcountry.png](/docs/public/laravel-langcountry.png)](/docs/public/laravel-langcountry.png)

TLDR;
=====

[](#tldr)

Laravel has great localisation functionality, but it is all based on the locale. The locale only refers to a language, not a country. This package adds the ability to localize based on the country. **Why?** Mainly because dates dates can be pronounced the same in a language, but be formatted differently in different countries. The package also adds more convenience functions to get localized country names, currency symbols and more.

Have you ever...
================

[](#have-you-ever)

- had the problem that you needed a date format had to be localized?
- needed to show a date in a specific language?
- that you needed to show a country name in the local language?
- that you needed to show a currency symbol in the local currency?
- ...

**The Laravel LangCountry package is here to help you with just that!**

Documentation
=============

[](#documentation)

You can find the [official documentation here](https://stefro.github.io/laravel-lang-country/).

Change log
----------

[](#change-log)

Please see [CHANGELOG](https://stefro.github.io/laravel-lang-country/getting-started/changelog.html) for more information on what has changed recently.

Upgrading
---------

[](#upgrading)

Please see [UPGRADING](https://stefro.github.io/laravel-lang-country/getting-started/upgrade.html) for detailed upgrade instructions.

Contributing
------------

[](#contributing)

Great! Please see [the contributing guide in the documentation](https://stefro.github.io/laravel-lang-country/contribute/contribution.html)for details.

ToDo
----

[](#todo)

- Caching to reduce file lookups.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Stef Rouschop](https://github.com/stefro)
- [Jayenne Montana](https://github.com/jayenne): For adding local country names and currency.
- Ronald Huijgen: Background vocals, choreography and funny business.
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

67

—

FairBetter than 100% of packages

Maintenance94

Actively maintained with recent releases

Popularity38

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity96

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 67.3% 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 ~41 days

Recently: every ~21 days

Total

71

Last Release

26d ago

Major Versions

1.0.19 → 2.02020-03-01

2.x-dev → 3.0.02023-09-28

3.x-dev → 4.0.02024-09-26

PHP version history (6 changes)1.0.0PHP ^7.1

2.0PHP ^7.3

2.3PHP ^7.3|^8.0

2.7PHP ^7.3|^8.0|^8.1

3.0.0PHP ^8.1|^8.2

4.2PHP ^8.1|^8.2|^8.3|^8.4|^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/2668fde7fe922c3110c0aa896653d5e4abe8195ee5db3bf5f7a652eb29d57124?d=identicon)[stefro](/maintainers/stefro)

---

Top Contributors

[![stefro](https://avatars.githubusercontent.com/u/5249559?v=4)](https://github.com/stefro "stefro (66 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![DarkaOnLine](https://avatars.githubusercontent.com/u/1171698?v=4)](https://github.com/DarkaOnLine "DarkaOnLine (5 commits)")[![michal-krolik](https://avatars.githubusercontent.com/u/97365634?v=4)](https://github.com/michal-krolik "michal-krolik (3 commits)")[![dualklip](https://avatars.githubusercontent.com/u/2706500?v=4)](https://github.com/dualklip "dualklip (2 commits)")[![teofanis](https://avatars.githubusercontent.com/u/47872542?v=4)](https://github.com/teofanis "teofanis (2 commits)")[![martin-ro](https://avatars.githubusercontent.com/u/10107779?v=4)](https://github.com/martin-ro "martin-ro (1 commits)")[![mohamedsabil83](https://avatars.githubusercontent.com/u/10126040?v=4)](https://github.com/mohamedsabil83 "mohamedsabil83 (1 commits)")[![SimonTamas](https://avatars.githubusercontent.com/u/8699325?v=4)](https://github.com/SimonTamas "SimonTamas (1 commits)")[![thearyanahmed](https://avatars.githubusercontent.com/u/20617352?v=4)](https://github.com/thearyanahmed "thearyanahmed (1 commits)")[![VKambulov](https://avatars.githubusercontent.com/u/18280400?v=4)](https://github.com/VKambulov "VKambulov (1 commits)")[![abkrim](https://avatars.githubusercontent.com/u/1238625?v=4)](https://github.com/abkrim "abkrim (1 commits)")[![ypho](https://avatars.githubusercontent.com/u/7271977?v=4)](https://github.com/ypho "ypho (1 commits)")[![alqabali](https://avatars.githubusercontent.com/u/26027662?v=4)](https://github.com/alqabali "alqabali (1 commits)")[![daviddprtma](https://avatars.githubusercontent.com/u/76859181?v=4)](https://github.com/daviddprtma "daviddprtma (1 commits)")[![hanifhefaz](https://avatars.githubusercontent.com/u/41760085?v=4)](https://github.com/hanifhefaz "hanifhefaz (1 commits)")[![imanghafoori1](https://avatars.githubusercontent.com/u/6961695?v=4)](https://github.com/imanghafoori1 "imanghafoori1 (1 commits)")[![jayenne](https://avatars.githubusercontent.com/u/7677427?v=4)](https://github.com/jayenne "jayenne (1 commits)")

---

Tags

LaravelLangCountry

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/involved-group-laravel-lang-country/health.svg)

```
[![Health](https://phpackages.com/badges/involved-group-laravel-lang-country/health.svg)](https://phpackages.com/packages/involved-group-laravel-lang-country)
```

###  Alternatives

[barryvdh/laravel-translation-manager

Manage Laravel Translations

1.7k3.6M17](/packages/barryvdh-laravel-translation-manager)[stefro/laravel-lang-country

Setting the locale is not enough most of the time, some countries use more than one languages. Also, different countries use different date notation formats, names, flags and currencies. This package is here to help you with that!

29948.2k](/packages/stefro-laravel-lang-country)[vluzrmos/language-detector

Detect the language for your application using browser preferences, subdomains or route prefixes.

109554.8k3](/packages/vluzrmos-language-detector)[kerigard/laravel-lang-ru

Ru lang for Laravel

2116.8k](/packages/kerigard-laravel-lang-ru)[highsolutions/laravel-translation-manager

Manage Laravel Translations

1518.8k](/packages/highsolutions-laravel-translation-manager)[amendozaaguiar/laraveles-spanish-for-jetstream

Archivos de traducción al español latinoamericano para Laravel con Jetstream (auth, pagination, passwords, validation + todas las cadenas de Jetstream).

1412.1k](/packages/amendozaaguiar-laraveles-spanish-for-jetstream)

PHPackages © 2026

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