A lightweight and easy to use internationalization library to enhance your Laravel application.
Use composer to install and use this package in your project.
Install them with
composer require "dmx/laravel-intl"
and you are ready to go!
You can use the the provided classes directly for your own purpose.
$myLocale = new DMX\Application\Intl\Locale('en', 'GB', 'utf8');
echo $myLocale->toISO15897String();
echo $myLocale->toIETFLanguageTag();
This will generate the following output:
en_GB.utf8
en-GB
See the CONTRIBUTING file.
See the CHANGELOG file.
See the LICENSE file.