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

image

tariq86/country-list

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

  • Monday, April 9, 2018
  • by tariq86
  • Repository
  • 2 Watchers
  • 6 Stars
  • 1,076 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 27 Forks
  • 0 Open issues
  • 9 Versions
  • 32 % Grown

The README.md

Country List

Build Status codecov, (*1)

Country List is a package for Laravel 5+, which lists all countries with names and ISO 3166-1 codes in all languages and data formats., (*2)

Installation

Require package via Composer: composer require tariq86/country-list, (*3)

As of version 2.0.0 of this package, Laravel 5.8 is the minimum required version, so you do not need to perform any further actions. If you are using an older version of Laravel, you will also need to use an older version of this package (i.e. 1.3.1)., (*4)

Usage

  • Locale (en, en_US, fr, fr_CA...)
    • If no locale is given (or if it is set to null), then it will default to 'en'
  • Format (csv, flags.html, html, json, mysql.sql, php, postgresql.sql, sqlite.sql, sqlserver.sql, txt, xml, yaml)

Get all countries, (*5)

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

Get one country, (*6)

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

The Versions

09/04 2018

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tariq A.

laravel i18n internationalization country countries

09/04 2018

v1.3.1

1.3.1.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tariq A.

laravel i18n internationalization country countries

06/04 2018

dev-dev

dev-dev

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tariq A.

laravel i18n internationalization country countries

06/04 2018

v1.3.0

1.3.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tariq A.

laravel i18n internationalization country countries

07/09 2017

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tariq A.

laravel i18n internationalization country countries

10/05 2017

1.1.2

1.1.2.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel i18n internationalization country countries

10/04 2017

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel i18n internationalization country countries

10/04 2017

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel i18n internationalization country countries

29/07 2016

v1.0.0

1.0.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel i18n internationalization country countries