Indonesian Administrative Division ( Pembagian Administratif Indonesia, Provinsi, Kota, Kelurahan ) For Laravel
This is package helper for Indonesian Administrative Division Area.
You can install the package via composer:
composer require konnco/laravel-inadivYou need to migrate the files via:
php artisan migratethe usage is same as common Laravel Model, in this package there's 4 Models that you can use.
Konnco\Inadiv\Models\ProvinceKonnco\Inadiv\Models\CityKonnco\Inadiv\Models\DistrictKonnco\Inadiv\Models\Subdisctict
So if you have another function that need to included in this model, just Extend into another class.
use Konnco\Inadiv\Models\Province as BaseProvinceModel;
class Province extends BaseProvinceModel {
public function yourCustomFunctionHere() {
}
}composer testPlease see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.