Skip to content
Full list of Indonesian provinces and their cities
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
migrations . Oct 3, 2018
models . Oct 3, 2018
seeds . Oct 3, 2018
.gitattributes Initial commit Oct 3, 2018
LICENSE Initial commit Oct 3, 2018 Update Oct 3, 2018

Indonesian territory

Full list of Indonesian provinces and their cities

Laravel database seeder (works on all versions)


34 Province

489 City (related to their province)

How to use

Simply place each file in their folders as it's defined and run

php artisan migrate

then run

composer dumpautoload

and finally you can run your seeder command and import all the lists to your database by one of commands below (depend on your desire)

php artisan db:seed


php artisan db:seed --Class=ProvincesTableSeeder
php artisan db:seed --Class=CitiesTableSeeder

or if you wish to refresh you database

php artisan migrate:refresh db:seed


Twitter Robert Nicjoo

You can’t perform that action at this time.