v0.1.4 2015-07-23 17:26 UTC


Translates between country name and abbreviation and vise versa.


Refer to vinelab/country on for composer installation instructions.

Edit app.php and add 'Vinelab\Country\CountryServiceProvider', to the 'providers' array.

It will automatically alias itself as Country so no need to aslias it in your app.php unless you would like to customize it. In that case edit your 'aliases' in app.php adding 'MyCountry' => 'Vinelab\Country\Facades\Guide',


$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...