vinelab/country

v0.1.6 2016-12-15 16:25 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...