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

68 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PRPCMBLMTS

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

Version 2 is coming soon, featuring relationship capabilities and a host of other improvements.

YOU CAN CHECK THE DEV VERSION 2 HERE TO SEE WHAT'S NEW

License: MIT Packagist GitHub stars

Requirements

  • Laravel 5.5 to 11.x

What's inside

Installation

  1. Install using Composer
composer require woenel/prpcmblmts "^1.1"
  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 command below
php artisan db:seed --class=PhilippineSeeder

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