vinelab/country
Country package for Laravel 5
Translates between country name and abbreviation and vise versa.
Installation
composer require vinelab/country
Publish Config File
php artisan vendor:publish --provider="Vinelab\Country\CountryServiceProvider"
Usage
$countryName = Country::name('US'); // United States
$countryAbbreviation = Country::abbreviation('United States'); // US
Related Packages
yayann/laravel-countries
Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3,...
626
1
gerardojbaez/geodata
Laravel 5.2 package that provides basic geographical data like Countries, Region...
11,991
31