PHPackages                             sentrasoft/laravel-indonesia - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. sentrasoft/laravel-indonesia

ActiveLibrary

sentrasoft/laravel-indonesia
============================

Berisi data Provinsi, Kabupaten/Kota, Kecamatan, dan Keluarahan/Desa di seluruh Indonesia

v1.1.0(5y ago)143MITPHPPHP ^7.3|^8.0

Since Nov 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sentrasoft/laravel-indonesia)[ Packagist](https://packagist.org/packages/sentrasoft/laravel-indonesia)[ Docs](https://github.com/sentrasoft/laravel-indonesia)[ RSS](/packages/sentrasoft-laravel-indonesia/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Data Wilayah Indonesia untuk Laravel
====================================

[](#data-wilayah-indonesia-untuk-laravel)

[![Donate](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NU3XK7VXYTYKY)[![Latest Stable Version](https://camo.githubusercontent.com/225c23d6948ce02c152cbd5de969aa822969475bd68c1abe87694524e339f588/68747470733a2f2f706f7365722e707567782e6f72672f73656e747261736f66742f6c61726176656c2d696e646f6e657369612f762f737461626c65)](https://packagist.org/packages/sentrasoft/laravel-indonesia)[![Total Downloads](https://camo.githubusercontent.com/d3e51aa9c99e24a2f6287eb41a7daa416c1c43da25e84032be208a8058be7a06/68747470733a2f2f706f7365722e707567782e6f72672f73656e747261736f66742f6c61726176656c2d696e646f6e657369612f646f776e6c6f616473)](https://packagist.org/packages/sentrasoft/laravel-indonesia)[![Monthly Downloads](https://camo.githubusercontent.com/0e22a4f8c49dfcaf0bb288776510fea53d2cdb93f28e26bd962b8e10529498ee/68747470733a2f2f706f7365722e707567782e6f72672f73656e747261736f66742f6c61726176656c2d696e646f6e657369612f642f6d6f6e74686c79)](https://packagist.org/packages/sentrasoft/laravel-indonesia)[![Latest Unstable Version](https://camo.githubusercontent.com/670471ec558daa97a7ca6fa867150d29c82961fa790ab14696b046f31db439bf/68747470733a2f2f706f7365722e707567782e6f72672f73656e747261736f66742f6c61726176656c2d696e646f6e657369612f762f756e737461626c65)](https://packagist.org/packages/sentrasoft/laravel-indonesia)[![License](https://camo.githubusercontent.com/42e84cdd5d52e1872953c58c52ded430ad02724acce1678c5e147846b0ee7133/68747470733a2f2f706f7365722e707567782e6f72672f73656e747261736f66742f6c61726176656c2d696e646f6e657369612f6c6963656e7365)](https://packagist.org/packages/sentrasoft/laravel-indonesia)

Berisi data Provinsi, Kabupaten/Kota, Kecamatan, dan Keluarahan/Desa di seluruh Indonesia. Paket ini adalah hasil penyederhanaan dari repository [laravolt/indonesia](https://github.com/laravolt/indonesia).

Instalasi
---------

[](#instalasi)

#### Via Composer

[](#via-composer)

```
$ composer require sentrasoft/laravel-indonesia
```

#### Via edit `composer.json`

[](#via-edit-composerjson)

```
"require": {
	"sentrasoft/laravel-indonesia": "dev-master"
}

```

Selanjutnya, update Composer melalui terminal:

```
$ composer update
```

Konfigurasi
-----------

[](#konfigurasi)

Setelah mengupdate Composer, daftarkan ServiceProvider ke `config/app.php`.

> Mulai versi 5.5 ke atas, Laravel sudah support fitur auto discover sehingga tidak perlu lagi mendaftarkan ServiceProvider dan Facade secara manual.

```
'providers' => array(
    ...

    Sentrasoft\Indonesia\IndonesiaServiceProvider::class,
);
```

Kemudian tambahkan alias ke `config/app.php`.

```
'aliases' => array(
    ...

    'Indonesia' => Sentrasoft\Indonesia\Facades\Indonesia::class,
);
```

Anda dapat melakukan publish berkas migrasi dan konfigurasi `indonesia.php`:

```
$ php artisan vendor:publish --provider="Sentrasoft\Indonesia\IndonesiaServiceProvider"
```

Setelah itu Anda perlu menjalankan migrasi:

```
$ php artisan migrate
```

dan lakukan seeder untuk mengisi data wilayah:

```
$ php artisan indonesia:seed
```

Penggunaan
----------

[](#penggunaan)

#### Mendapatkan semua data provinsi

[](#mendapatkan-semua-data-provinsi)

```
$provinces = \Indonesia::allProvinces();
```

Support Us
----------

[](#support-us)

[![Donate](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NU3XK7VXYTYKY)

Help us to keep making awesome stuff. You don't have to be a developer to support our open source work. If you want to receive personal support, or just feel all warm and fuzzy inside from helping open source development, donations are very welcome. Thank you.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~68 days

Total

2

Last Release

1891d ago

PHP version history (2 changes)v1.0.0PHP ^7.3

v1.1.0PHP ^7.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae78c2d69f18a57091cf4a7f6da4aa2630f4c35d0ec05da6e998f64519c39a5a?d=identicon)[falestra](/maintainers/falestra)

---

Top Contributors

[![falestra](https://avatars.githubusercontent.com/u/12063138?v=4)](https://github.com/falestra "falestra (2 commits)")

---

Tags

laravelindonesiaprovinsikabupatenkecamatankelurahankotadesasentrasoft

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sentrasoft-laravel-indonesia/health.svg)

```
[![Health](https://phpackages.com/badges/sentrasoft-laravel-indonesia/health.svg)](https://phpackages.com/packages/sentrasoft-laravel-indonesia)
```

###  Alternatives

[laravolt/indonesia

Package Laravel yang berisi data Provinsi, Kabupaten/Kota, Kecamatan, dan Keluarahan/Desa di seluruh Indonesia.

650184.3k1](/packages/laravolt-indonesia)[creasi/laravel-nusa

A Laravel package that aim to provide Indonesia' Administrative Data

987.0k1](/packages/creasi-laravel-nusa)[matriphe/laraciproid

Indonesia city and province data migration and seeder for Laravel.

232.5k](/packages/matriphe-laraciproid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
