Translates between country name and abbreviation and vise versa.
Refer to vinelab/country on packagist.org for composer installation instructions.
Edit app.php and add
'Vinelab\Country\CountryServiceProvider', to the
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...