2017 © Pedro Peláez
 

library laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

image

webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  • Wednesday, June 27, 2018
  • by webpatser
  • Repository
  • 20 Watchers
  • 514 Stars
  • 378,641 Installations
  • PHP
  • 6 Dependents
  • 0 Suggesters
  • 153 Forks
  • 30 Open issues
  • 23 Versions
  • 9 % Grown

The README.md

Laravel Countries

Total Downloads Latest Stable Version Latest Unstable Version, (*1)

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries., (*2)

Please note that version 1.4 is Laravel 5 only, older versions of Laravel should use version 1.3.4 instead, (*3)

Installation

Add webpatser/laravel-countries to composer.json., (*4)

"webpatser/laravel-countries": "dev-master"

Run composer update to pull down the latest version of Country List., (*5)

Edit app/config/app.php and add the provider and filter, (*6)

'providers' => [
    'Webpatser\Countries\CountriesServiceProvider',
]

Now add the alias., (*7)

'aliases' => [
    'Countries' => 'Webpatser\Countries\CountriesFacade',
]

Model

You can start by publishing the configuration. This is an optional step, it contains the table name and does not need to be altered. If the default name countries suits you, leave it. Otherwise run the following command, (*8)

$ php artisan vendor:publish

Next generate the migration file:, (*9)

$ php artisan countries:migration

It will generate the <timestamp>_setup_countries_table.php migration and the CountriesSeeder.php seeder. To make sure the data is seeded insert the following code in the seeds/DatabaseSeeder.php, (*10)

//Seed the countries
$this->call('CountriesSeeder');
$this->command->info('Seeded the countries!'); 

You may now run it with the artisan migrate command:, (*11)

$ php artisan migrate --seed

After running this command the filled countries table will be available, (*12)

The Versions

27/06 2018

dev-master

9999999-dev https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

16/05 2018

dev-develop

dev-develop https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

16/05 2018

1.5.4

1.5.4.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

16/05 2018

1.5.3

1.5.3.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

25/01 2017

1.5.2

1.5.2.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

25/01 2017

1.5.1

1.5.1.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

25/01 2017

1.5

1.5.0.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

05/08 2015

1.4.4.x-dev

1.4.4.9999999-dev https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

10/06 2015

dev-laravel_4

dev-laravel_4 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

10/06 2015

1.3.7

1.3.7.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

10/06 2015

1.4.3

1.4.3.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

02/06 2015

1.3.6

1.3.6.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

02/06 2015

1.4.2

1.4.2.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

21/05 2015

1.3.5

1.3.5.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

21/05 2015

1.4.1

1.4.1.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

23/03 2015

1.4

1.4.0.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

21/10 2014

1.3.4

1.3.4.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

26/09 2014

1.3.2

1.3.2.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

26/09 2014

1.3.3

1.3.3.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

04/09 2014

1.3.1

1.3.1.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

04/09 2014

1.3

1.3.0.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

24/07 2014

1.2

1.2.0.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

27/06 2014

1.1

1.1.0.0 https://github.com/webpatser/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166_2, 3166_3, currency, Capital and more for all countries.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3