Prpcmblmts
Philippines region, province, cities/municipalities and barangays Laravel migration and table seeder.
Install / Use
/learn @woenel/PrpcmblmtsREADME
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.
Requirements
- Laravel 5.5 to 12.x
What's inside
- [x] Regions
- [x] Provinces
- [x] Cities/Municipalities
- [x] Barangays
- [ ] MOVED TO V2: Relationships between Regions, Provinces, Cities, and Barangays
- [ ] MOVED TO V2: Compatible with all databases supported by Laravel
Installation
- Install using Composer
composer require woenel/prpcmblmts "^1.1"
- Publish migration and seed files
php artisan vendor:publish --provider="Woenel\Prpcmblmts\ServiceProvider"
- Run the following migrate artisan command
php artisan migrate --path="database/migrations/prpcmblmts"
- Dump autoload using Composer
composer dump-autoload
- Lastly, seed the data using the following seed artisan command below
php artisan db:seed --class=PhilippineSeeder
