stefro/
laravel-lang-country
g4t.io

LangCountry is a Localization Package for Laravel

16 views 301 stars by Paul Redmond

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!

README from stefro/laravel-lang-country Open on GitHub →

LaravelLangCountry

Latest Version on Packagist Software License

laravel-langcountry.png

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...

  • 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

You can find the official documentation here.

Change log

Please see CHANGELOG for more information on what has changed recently.

Upgrading

Please see UPGRADING for detailed upgrade instructions.

Contributing

Great! Please see the contributing guide in the documentation for details.

ToDo

  • Caching to reduce file lookups.

Security

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

Credits

License

The MIT License (MIT). Please see License File for more information.

More from the ecosystem

durable-workflow/
workflow
g4t.io
9 1,292

Durable Workflow: Long-Running Workflows for Laravel

Embedded durable workflow runtime and orchestration engine for Laravel applications.

durable-workflow/workflow via Laravel News
packstub/
session-replay
g4t.io
14 52

Session Replay for Laravel: Self-Hosted Browser Recordings

Session replay for Laravel: record what a person did in the browser with rrweb, keep the recording on your own disk and database, and watch it behind a gate you define — masked inputs by default, errors, failed Livewire requests and web vitals marked on the timeline, a link to the replay in every log line. packstub/filament-session-replay adds the sessions to a Filament panel.

packstub/session-replay via Laravel News
cyberwizard-dev/
schedule-catchup
g4t.io
17

Replay Missed Laravel Scheduled Tasks With Schedule Catchup

Schedule Catchup replays missed Laravel scheduled tasks after downtime, with opt-in recovery, bounded retries, and access to the original scheduled date.

cyberwizard-dev/schedule-catchup via Laravel News