PHPackages                             wurin7i/id-refs - 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. wurin7i/id-refs

ActiveLibrary

wurin7i/id-refs
===============

Indonesian citizen identity references

v0.3.0(6mo ago)114MITPHPPHP ^8.1CI passing

Since Jun 29Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/wurin7i/id-refs)[ Packagist](https://packagist.org/packages/wurin7i/id-refs)[ RSS](/packages/wurin7i-id-refs/feed)WikiDiscussions main Synced 1mo ago

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

ID-Refs: Indonesian Citizen Identity References
===============================================

[](#id-refs-indonesian-citizen-identity-references)

[![Tests](https://github.com/wurin7i/id-refs/actions/workflows/tests.yml/badge.svg)](https://github.com/wurin7i/id-refs/actions/workflows/tests.yml)[![codecov](https://camo.githubusercontent.com/1272d7d8d4589174798fc17ea07b2d8b2273841bb38f731c1b44e85a8679bd3e/68747470733a2f2f636f6465636f762e696f2f6769746875622f777572696e37692f69642d726566732f67726170682f62616467652e7376673f746f6b656e3d56304458373839333842)](https://codecov.io/github/wurin7i/id-refs)[![Packagist Version](https://camo.githubusercontent.com/4a9f4c1139799f9f5b52617c0962f4c8bbcd3e596ecc6747d4b57837f1b40eb0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f777572696e37692f69642d72656673)](https://packagist.org/packages/wurin7i/id-refs)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![PHP Version](https://camo.githubusercontent.com/acffb6ae1962992d26e4466782832787e79504a6250f80d732c4283458b9f497/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e312d626c75652e737667)](https://www.php.net/)[![Laravel](https://camo.githubusercontent.com/66fac93453d03eb3517ff98f33538da85d1a69e786c043e9c7b0df6dd8dac910/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d3130253743313125374331322d7265642e737667)](https://laravel.com/)

Description
-----------

[](#description)

This library provides a collection of references and utilities related to Indonesian citizen identity documents, such as KTP (Kartu Tanda Penduduk) and KK (Kartu Keluarga). It aims to simplify the process of working with these identifiers in your PHP applications.

Installation
------------

[](#installation)

The recommended installation method is via Composer:

```
composer require wurin7i/id-refs
```

This will install the library and its dependencies into your project's vendor directory.

Requirements
------------

[](#requirements)

- PHP 8.1 and above
- illuminate/support ^10.0|^11.0|^12.0

Usage
-----

[](#usage)

Once installed, you can use the library's classes and functions to interact with Indonesian citizen identity references. Refer to the detailed documentation (coming soon) for specific usage instructions.

### Database Seeders

[](#database-seeders)

The library may include database seeders located in the database/seeders directory. These seeders can be used to populate your database with reference data. To run the seeders, you'll need to configure your database connection and use a command-line tool like Laravel's Artisan:

```
php artisan db:seed --class=WuriN7i\\IdRefs\\Database\\Seeders\\ReferenceDataSeeder
```

### Populating Regions Data

[](#populating-regions-data)

IdRefs library offer a command `idrefs:update-data` to update your database with Kemendagri regions data. The sql source is retrieved from the [cahyadsn/wilayah](https://github.com/cahyadsn/wilayah) GitHub repository.

```
php artisan idrefs:update-data
```

Contributing
------------

[](#contributing)

We welcome contributions to this library. Please see the CONTRIBUTING.md file (to be added) for guidelines on how to contribute.

License
-------

[](#license)

This library is licensed under the MIT License. See the LICENSE file for details.

Author
------

[](#author)

Wuri Nugrahadi ()

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance68

Regular maintenance activity

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Total

3

Last Release

188d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a5253dc1db998e43d9443b16e862999fe015a5f470d57d59dd9f779fb25b3ec?d=identicon)[wurin7i](/maintainers/wurin7i)

---

Top Contributors

[![wurin7i](https://avatars.githubusercontent.com/u/478210?v=4)](https://github.com/wurin7i "wurin7i (9 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/wurin7i-id-refs/health.svg)

```
[![Health](https://phpackages.com/badges/wurin7i-id-refs/health.svg)](https://phpackages.com/packages/wurin7i-id-refs)
```

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)

PHPackages © 2026

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