vinelab / country
Country names and abbreviations
Installs: 2 800
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 8
Forks: 2
Open Issues: 2
Requires
- php: >=7.0
- illuminate/contracts: *
- illuminate/support: *
Requires (Dev)
- mockery/mockery: ^1.2
- phpunit/phpunit: ^6.5
README
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