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
monarobase/country-list
List of all countries with names and ISO 3166-1 codes in all languages and data...
3,085,780
274
webpatser/laravel-countries
Modern Laravel Countries package providing ISO 3166-2, ISO 3166-3, currency, cap...
3,049,205
851
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v0.3.0 | >=7.0 | * | MIT | |
| v0.2.0 | >=7.0 | 5.4.*| | MIT | |
| 0.1.8 | >=5.3.0 | 5.* | MIT | |
| 0.1.7 | >=5.3.0 | 5.* | MIT | |
| v0.1.6 | >=5.3.0 | 5.* | MIT | |
| v0.1.5 | >=5.3.0 | 5.* | MIT | |
| v0.1.4 | >=5.3.0 | 4.* | MIT | |
| v0.1.3 | >=5.3.0 | 4.* | MIT | |
| v0.1.2 | >=5.3.0 | 4.0.x | MIT | |
| v0.1.1 | >=5.3.0 | 4.0.x | MIT | |
| v0.1 | >=5.3.0 | 4.0.x |