Download the PHP package bestboysmedialab/language-list without Composer
On this page you can find all versions of the php package bestboysmedialab/language-list. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bestboysmedialab/language-list
More information about bestboysmedialab/language-list
Files in bestboysmedialab/language-list
Download bestboysmedialab/language-list
More information about bestboysmedialab/language-list
Files in bestboysmedialab/language-list
Vendor bestboysmedialab
Package language-list
Short Description List of all languages with names and ISO 3166-1 codes in all languages and data formats for Laravel 5
License MIT
Package language-list
Short Description List of all languages with names and ISO 3166-1 codes in all languages and data formats for Laravel 5
License MIT
Please rate this library. Is it a good library?
Informations about the package language-list
Language List
Language List is a package for Laravel 5 which lists all langauges with names and ISO 3166-1 codes in all languages and data formats.
Installation
Add bestboysmedialab/language-list
to composer.json
.
"bestboysmedialab/language-list": "1.1.3"
Run composer update
to pull down the latest version of Country List.
Now open up app/config/app.php
and add the service provider to your providers
array.
'providers' => array(
'Bestboysmedialab\LanguageList\LanguageListServiceProvider',
)
Now add the alias.
'aliases' => array(
'Languages' => 'Bestboysmedialab\LanguageList\LanguageListFacade',
)
Usage
- Locale (en, en_US, fr, fr_CA...)
- Format (csv, html, json, mysql.sql, php, postgresql.sql, sqlite.sql, txt, xml, yaml)
Get all languages
Route::get('/', function()
{
return Languages::getList('en', 'json');
});
Get one Language
Route::get('/', function()
{
return Languages::getOne('RU', 'en');
});
All versions of language-list with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package bestboysmedialab/language-list contains the following files
Loading the files please wait ....