Skip to content

Latest commit

 

History

History
46 lines (40 loc) · 1.67 KB

README.md

File metadata and controls

46 lines (40 loc) · 1.67 KB

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)