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.
- Laravel 5.5 to 11.x
- Regions
- Provinces
- Cities/Municipalities
- Barangays
- Relationships (Moved to version 2.x)
- 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