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. nurmanhabib/kewilayahan

ActiveLibrary

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 2mo 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 60% 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

3709d 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

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[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.

44643.1k1](/packages/pressbooks-pressbooks)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[dragon-code/migrate-db

Easy data transfer from one database to another

15717.4k](/packages/dragon-code-migrate-db)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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