LaravelPackages.net
Acme Inc.
Toggle sidebar
think.studio/laravel-international-info

International information data set.

19
0
1.1.0
About think.studio/laravel-international-info

think.studio/laravel-international-info is a Laravel package for international information data set.. It currently has 0 GitHub stars and 19 downloads on Packagist (latest version 1.1.0). Install it with composer require think.studio/laravel-international-info. Discover more Laravel packages by think.studio or browse all Laravel packages to compare alternatives.

Last updated

International information data set.

Packagist License Packagist Version Total Downloads Build Status Code Coverage Scrutinizer Code Quality

Easy get Country ISO code/State/PhoneCode.

Installation

Install the package via composer:

composer require think.studio/laravel-international-info

You can publish the config file with:

php artisan vendor:publish --provider="InternationalInfo\ServiceProvider" --tag="config"
# optional
php artisan vendor:publish --provider="InternationalInfo\ServiceProvider" --tag="storage"

Usage

InternationalInfo::country()->list();
InternationalInfo::country()->list('AI'); // Anguilla

$country = InternationalInfo::country();
$country->findISOCode('GB') // 'GB'
$country->findISOCode('gb') // 'GB'
$country->findISOCode('United Kingdom (UK)') // 'GB'

Credits

  • Think Studio
Comments