Skip to content

Philippines region, province, cities/municipalities and barangays Laravel migration and table seeder.

License

Notifications You must be signed in to change notification settings

woenel/prpcmblmts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PRPCMBLMTS

Philippines region, province, cities/municipalities and barangays Laravel migration and table seeder.

MIT License

Requirements

  • Laravel 5.5 to 8.x

What's inside

  • Regions
  • Provinces
  • Cities/Municipalities
  • Barangays

Installation

  1. Install using Composer
composer require woenel/prpcmblmts
  1. Publish migration and seed files
php artisan vendor:publish --provider="Woenel\Prpcmblmts\ServiceProvider"
  1. Run the following migrate artisan command
php artisan migrate --path="database/migrations/prpcmblmts"
  1. Dump autoload using Composer
composer dump-autoload
  1. Lastly, seed the data using the following seed artisan commands below
php artisan db:seed --class=PhilippineRegionsTableSeeder
php artisan db:seed --class=PhilippineProvincesTableSeeder
php artisan db:seed --class=PhilippineCitiesTableSeeder
php artisan db:seed --class=PhilippineBarangaysTableSeeder

Credit

Philippine Standard Geographic Code (PSGC)

About

Philippines region, province, cities/municipalities and barangays Laravel migration and table seeder.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages