vinelab/country

0.1.7 2017-02-24 14:15 UTC

README

Translates between country name and abbreviation and vise versa.

Installation

composer update vinelab/country

Publish Config File

php artisan vendor:publish

Usage

$countryName = Country::name('US'); // United States
$countryAbbreviation = Country::abbreviation('United States'); // US

No tests provided with this package as it is a bit tricky to test at this point...