Skip to content

An alternative Laravel package for Indonesia administrative

License

Notifications You must be signed in to change notification settings

martanto/indonesia

Repository files navigation

An alternative Laravel package for Indonesia administrative

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

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.

Installation

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_'
];

Usage

Will be updated soon

$indonesia = new Martanto\Indonesia();
echo $indonesia->echoPhrase('Hello, Martanto!');

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

An alternative Laravel package for Indonesia administrative

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages