PHPackages                             nurmanhabib/kewilayahan - 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. [API Development](/categories/api)
4. /
5. nurmanhabib/kewilayahan

ActiveLibrary[API Development](/categories/api)

nurmanhabib/kewilayahan
=======================

API Data Wilayah Provinsi, Kota/Kab, Kecamatan, Kel/Desa di Indonesia dengan data dari BPS Tahun 2013.

1.2.0(10y ago)0210MITPHP

Since Mar 15Pushed 10y ago1 watchersCompare

[ Source](https://github.com/nurmanhabib/kewilayahan)[ Packagist](https://packagist.org/packages/nurmanhabib/kewilayahan)[ RSS](/packages/nurmanhabib-kewilayahan/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

Kewilayahan Indonesia API
=========================

[](#kewilayahan-indonesia-api)

### Install

[](#install)

- Instalasi dengan Composer ```
     $ composer require nurmanhabib/kewilayahan

    ```
- Tambahkan `Nurmanhabib\Kewilayahan\KewilayahanServiceProvider::class` pada `config/app.php` ```
     'providers' => [
         ...
         Nurmanhabib\Kewilayahan\KewilayahanServiceProvider::class,
     ]

    ```
- Copy file `config.php` ke `config/kewilayahan.php` ```
     $ php artisan vendor:publish --provider="Nurmanhabib\Kewilayahan\KewilayahanServiceProvider"

    ```
- Create table dengan migration ```
     $ php artisan migrate

    ```
- Insert data seeder kewilayahan ```
     $ php artisan db:seed --class="KewilayahanSeeder"

    ```

### Penggunaan

[](#penggunaan)

```
$kewilayahan = app('kewilayahan');
$kewilayahan->setQuery($request->all());
$kewilayahan->setOutput('api');

$kewilayahan->setOutput(function ($data) use ($request) {
	$selected = ['selected' => 'tes'];

	return array_merge($data, [$selected]);
});

return $kewilayahan->load();
```

### License

[](#license)

Apache

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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 ~0 days

Total

3

Last Release

3760d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ff877655f6d01a863742b7f9e23ed29d6f1548df3e017eec5f6b0a2a5dfdb1c?d=identicon)[nurmanhabib](/maintainers/nurmanhabib)

---

Top Contributors

[![nurmanhabib](https://avatars.githubusercontent.com/u/5308494?v=4)](https://github.com/nurmanhabib "nurmanhabib (13 commits)")

### Embed Badge

![Health badge](/badges/nurmanhabib-kewilayahan/health.svg)

```
[![Health](https://phpackages.com/badges/nurmanhabib-kewilayahan/health.svg)](https://phpackages.com/packages/nurmanhabib-kewilayahan)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M184](/packages/laravel-ai)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)[rapidez/core

Rapidez Core

1823.5k70](/packages/rapidez-core)

PHPackages © 2026

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