New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

vinelab/country

Country names and abbreviations
3,101 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

monarobase/country-list

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

3,160,483 275
lykegenes/laravel-countries

Get informations about countries.

27,297 7
woodsandwalker/laravel-countries

Laravel Countries is a bundle for Laravel providing ISO 3166_2 codes for all cou...

13,799 10
opheus2/laravel-countries

Get informations about countries and their currency.

10,236 0
angelkurten/countries

Countries for Laravel in Spanish and English

2,860 2

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