Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.
Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.
A comprehensive Laravel package for handling countries data with all 249 countries, flags, currencies, regions, and more.
Install via Composer:
composer require webpatser/laravel-countries
Run the installation command to set up the database:
php artisan countries:install
use Webpatser\Countries\Countries;
$countries = new Countries();
$usa = $countries->getOne('US');
// $usa['name'] => 'United States'
// $usa['full_name'] => 'United States of America'
$allCountries = $countries->getList();
$euroCountries = $countries->getByCurrency('EUR');
name) and official names (full_name)For complete documentation, examples, and API reference, visit:
https://documentation.downsized.nl/laravel-countries
MIT License
No open issues yet, or sync has not completed.