vinelab/country

3,097 2
Install
composer require vinelab/country
Latest Version:v0.3.0
PHP:>=7.0
Laravel:4 – 8
License:MIT
Last Updated:Apr 22, 2021
Links: GitHub  ·  Packagist
Maintainer: Vinelab

Country package for Laravel 5

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

Related Packages

dougsisk/laravel-country-state

Country & state helper for Laravel.

2,173,435 168
lykegenes/laravel-countries

Get informations about countries.

27,262 7
monarobase/country-list

List of all countries with names and ISO 3166-1 codes in all languages and data...

3,085,780 274
webpatser/laravel-countries

Modern Laravel Countries package providing ISO 3166-2, ISO 3166-3, currency, cap...

3,049,205 851

Version History

Version Released PHP Laravel License
v0.3.0 >=7.0 * MIT
v0.2.0 >=7.0 5.4.*|5.5.*|5.6.*|5.7.*|5.8. MIT
0.1.8 >=5.3.0 5.* MIT
0.1.7 >=5.3.0 5.* MIT
v0.1.6 >=5.3.0 5.* MIT