2017 © Pedro Peláez
 

laravel-library countries

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

image

incloudout/countries

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

  • Thursday, May 31, 2018
  • by hrodrigues1984
  • Repository
  • 0 Watchers
  • 0 Stars
  • 18 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 350 % Grown

The README.md

Laravel Countries

Latest Stable Version Total Downloads Latest Unstable Version License, (*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 this package is for Laravel 5 only, (*3)

Installation

Add incloudout/countries to composer.json., (*4)

composer require incloudout/countries

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

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

$ php artisan vendor:publish

Next generate the migration file:, (*7)

$ 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, (*8)

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

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

$ php artisan migrate --seed

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

The Versions

31/05 2018

dev-master

9999999-dev https://bitbucket.org/incloudout/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

 

laravel countries iso_3166_2 iso_3166_3

31/05 2018

v1.3.1

1.3.1.0 https://bitbucket.org/incloudout/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

 

laravel countries iso_3166_2 iso_3166_3

14/05 2018

v1.3

1.3.0.0 https://bitbucket.org/incloudout/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

 

laravel countries iso_3166_2 iso_3166_3

17/05 2016

1.2.x-dev

1.2.9999999.9999999-dev https://bitbucket.org/incloudout/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

 

laravel countries iso_3166_2 iso_3166_3

17/05 2016

1.1.x-dev

1.1.9999999.9999999-dev https://bitbucket.org/incloudout/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

 

laravel countries iso_3166_2 iso_3166_3

17/05 2016

1.0.x-dev

1.0.9999999.9999999-dev https://bitbucket.org/incloudout/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

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

17/05 2016

v1.1.0

1.1.0.0 https://bitbucket.org/incloudout/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

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

17/05 2016

v1.1.1

1.1.1.0 https://bitbucket.org/incloudout/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

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3

17/05 2016

v1.0

1.0.0.0 https://bitbucket.org/incloudout/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

 

by Paul Kievits

laravel countries iso_3166_2 iso_3166_3