Vinelab / country by Vinelab

2,692
3
8
Package Data
Maintainer Username: Vinelab
Maintainer Contact: abed.halawi@vinelab.com (Abed Halawi)
Package Create Date: 2013-06-02
Package Last Update: 2021-04-22
Language: PHP
License: MIT
Last Refreshed: 2024-03-26 15:04:46
Package Statistics
Total Downloads: 2,692
Monthly Downloads: 3
Daily Downloads: 0
Total Stars: 3
Total Watchers: 8
Total Forks: 2
Total Open Issues: 2

Country package for Laravel 4 & 5

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