Download the PHP package stefro/laravel-lang-country without Composer
On this page you can find all versions of the php package stefro/laravel-lang-country. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stefro/laravel-lang-country
More information about stefro/laravel-lang-country
Files in stefro/laravel-lang-country
Package laravel-lang-country
Short Description 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!
License MIT
Homepage https://github.com/stefro/laravel-lang-country
Informations about the package laravel-lang-country
LaravelLangCountry
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 [email protected] instead of using the issue tracker.
Credits
- Stef Rouschop
- Jayenne Montana: For adding local country names and currency.
- Ronald Huijgen: Background vocals, choreography and funny business.
- All Contributors
License
The MIT License (MIT). Please see License File for more information.