Skip to content
Full list of Indonesian provinces and their cities
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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
README.md Update README.md Oct 3, 2018

README.md

Indonesian territory

Full list of Indonesian provinces and their cities

Laravel database seeder (works on all versions)

Includes

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

or

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

Website TJD STUDIO

Twitter Robert Nicjoo

You can’t perform that action at this time.