Updated Jan 2015
- Countries
- Distritos
- Concelhos
- Códigos Postais
Address fields not included
Just import the table dumps to Database or CSV files to your project
-
Extract migration files to the migrations folder in your Laravel Project
-
Run Migrations
php artisan migrate
- Open DatabaseSeeder.php and add the following lines:
$this->call('CodigosPostaisTableSeeder');
$this->call('ConcelhosTableSeeder');
$this->call('DistritosTableSeeder');
$this->call('CountriesTableSeeder');
-
Seed Tables
Open DatabaseSeeder.php
php artisan db:seed
- Extract model files to the models folder in your Laravel Project
#License Open Source software under MIT License