2017 © Pedro Peláez
 

library country-list

List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel 4/5

image

monarobase/country-list

List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel 4/5

  • Tuesday, February 20, 2018
  • by thujohn
  • Repository
  • 9 Watchers
  • 117 Stars
  • 130,007 Installations
  • PHP
  • 6 Dependents
  • 1 Suggesters
  • 27 Forks
  • 0 Open issues
  • 8 Versions
  • 10 % Grown

The README.md

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., (*1)

Installation

Run composer require monarobase/country-list., (*2)

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

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

Monarobase\CountryList\CountryListServiceProvider::class,

If needed, add the following alias as well., (*5)

'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, (*6)

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

Get one country, (*7)

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

The Versions

20/02 2018

dev-master

9999999-dev

List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel 4/5

  Sources   Download

MIT

The Requires

 

laravel countries

20/02 2018

2.1.0

2.1.0.0

List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel 4/5

  Sources   Download

MIT

The Requires

 

laravel countries

20/02 2017

2.0.0

2.0.0.0

List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel 4

  Sources   Download

MIT

The Requires

 

12/05 2015

1.2.3

1.2.3.0

List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel 4

  Sources   Download

MIT

The Requires

 

24/07 2014

1.2.0

1.2.0.0

List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel 4

  Sources   Download

MIT

The Requires

 

25/06 2013

1.1.1

1.1.1.0

List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel 4

  Sources   Download

MIT

The Requires

 

25/06 2013

1.1.0

1.1.0.0

List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel 4

  Sources   Download

MIT

The Requires

 

31/05 2013

1.0.0

1.0.0.0

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

  Sources   Download

MIT

The Requires