monarobase/country-list

List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel
3,105,752 275
Install
composer require monarobase/country-list
Latest Version:3.7.0
PHP:>=5.6.0
Laravel:5 – 13
Older releases:4
License:MIT
Last Updated:Feb 23, 2026
Links: GitHub  ·  Packagist
Maintainer: Monarobase

Country List

Country List is a package for Laravel which lists all countries with names and ISO 3166-1 codes in all languages and data formats.

Installation

Run composer require monarobase/country-list.

Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

Monarobase\CountryList\CountryListServiceProvider::class,

If needed, add the following alias as well.

'Countries' => Monarobase\CountryList\CountryListFacade::class,

Usage

  • Locale (en, en_US, fr, fr_CA...)
  • Format (csv, flags.html, html, json, mysql.sql, php, postgresql.sql, sqlite.sql, sqlserver.sql, txt, xml, yaml)

Get all countries

Route::get('/', function()
{
	return Countries::getList('en', 'json');
});

Get one country

Route::get('/', function()
{
	return Countries::getOne('RU', 'en');
});

Related Packages

dougsisk/laravel-country-state

Country & state helper for Laravel.

2,195,061 168
lykegenes/laravel-countries

Get informations about countries.

27,278 7
galahad/laravel-addressing

Laravel package providing addressing functionality

369,518 70
webpatser/laravel-countries

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

3,065,974 851

Version History

Version Released PHP Laravel License
3.7.0 >=5.6.0 ^5.8|^6|^7|^8|^9|^10|^11|^12|^13.0 MIT
3.6.0 >=5.6.0 ^5.8|^6|^7|^8|^9|^10|^11|^12 MIT
3.5.0 >=5.6.0 ^5.8|^6|^7|^8|^9|^10|^11 MIT
3.4.0 >=5.6.0 ^5.8|^6|^7|^8|^9|^10 MIT
3.3.0 >=5.6.0 ^5.8|^6|^7|^8|^9 MIT