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

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

brunofigueiredo2k/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!

065PHP

Since Mar 31Pushed 2mo agoCompare

[ Source](https://github.com/BrunoFigueiredo2k/laravel-lang-country)[ Packagist](https://packagist.org/packages/brunofigueiredo2k/laravel-lang-country)[ RSS](/packages/brunofigueiredo2k-laravel-lang-country/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)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

23

—

LowBetter than 26% of packages

Maintenance56

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 60.8% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/523f78bbcf61884f42bbba7cd78f28a62d1251cfaa0eae16f029499698355397?d=identicon)[BrunoFigueiredo2k](/maintainers/BrunoFigueiredo2k)

---

Top Contributors

[![stefro](https://avatars.githubusercontent.com/u/5249559?v=4)](https://github.com/stefro "stefro (62 commits)")[![BrunoFigueiredo2k](https://avatars.githubusercontent.com/u/51383843?v=4)](https://github.com/BrunoFigueiredo2k "BrunoFigueiredo2k (15 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 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)")[![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)")[![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)")[![abkrim](https://avatars.githubusercontent.com/u/1238625?v=4)](https://github.com/abkrim "abkrim (1 commits)")[![VKambulov](https://avatars.githubusercontent.com/u/18280400?v=4)](https://github.com/VKambulov "VKambulov (1 commits)")[![daviddprtma](https://avatars.githubusercontent.com/u/76859181?v=4)](https://github.com/daviddprtma "daviddprtma (1 commits)")[![dualklip](https://avatars.githubusercontent.com/u/2706500?v=4)](https://github.com/dualklip "dualklip (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)")

### Embed Badge

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

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

###  Alternatives

[php-translation/translator

Translator services

25224.8k5](/packages/php-translation-translator)[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1926.6k1](/packages/smmoosavi-php-gettext)[laradevs/spanish

labels translated to spanish

166.7k](/packages/laradevs-spanish)

PHPackages © 2026

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