PHP code example of muhamadzain / indoregion

1. Go to this page and download the library: Download muhamadzain/indoregion library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

muhamadzain / indoregion example snippets

bash
php artisan Kadinindoregion:publish
bash
php artisan migrate
bash
php artisan db:seed --class=IndoRegionSeeder # Import data Provinsi/Province, Kabupaten/Regency, Kecamatan/District
bash
php artisan db:seed --class=IndoRegionProvinceSeeder # Import data province
php artisan db:seed --class=IndoRegionRegencySeeder # Import data kota/regency
php artisan db:seed --class=IndoRegionDistrictSeeder # Import data kecamatan/district