Paket ini digunakan sebagai alternatif untuk mendapatkan data Administrasi Indonesia. Meliputi data provinsi, kota/kabupaten, kecamatan, dan desa/kelurahan. Paket ini terinspirasi dari Laravolt Indonesia.
You can install the package via composer:
composer require martanto/indonesia
You can publish and run the migrations with:
php artisan vendor:publish --tag="indonesia-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="indonesia-config"
This is the contents of the published config file:
return [
'cache' => true,
'cache_prefix' => 'indonesia_'
];
Will be updated soon
$indonesia = new Martanto\Indonesia();
echo $indonesia->echoPhrase('Hello, Martanto!');
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.