PHP code example of madebyclowd / laravel-nusantara
1. Go to this page and download the library: Download madebyclowd/laravel-nusantara 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/ */
madebyclowd / laravel-nusantara example snippets
use MadeByClowd\Nusantara\Facades\Nusantara;
$province = Nusantara::findProvince('11');
$regencies = Nusantara::regenciesOf('11');
bash
php artisan nusantara:install