PHPackages                             teguh02/indonesia-territory-forms - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. teguh02/indonesia-territory-forms

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

teguh02/indonesia-territory-forms
=================================

Display a Indonesia Territory Select Form For Filament Within the Zip-Code Without Any Seeder Needed

v1.1(1y ago)161.1k↓50%2[2 issues](https://github.com/teguh02/Indonesia-Territory-Forms/issues)MITPHPPHP ^8.1

Since Sep 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/teguh02/Indonesia-Territory-Forms)[ Packagist](https://packagist.org/packages/teguh02/indonesia-territory-forms)[ Docs](https://github.com/teguh02/indonesia-territory-forms)[ GitHub Sponsors](https://github.com/teguh02)[ RSS](/packages/teguh02-indonesia-territory-forms/feed)WikiDiscussions main Synced 1mo ago

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

Filament Indonesia Territory Select Form
========================================

[](#filament-indonesia-territory-select-form)

[![Banner](https://raw.githubusercontent.com/teguh02/Indonesia-Territory-Forms/main/dist/images/teguh02-filament.jpg)](https://raw.githubusercontent.com/teguh02/Indonesia-Territory-Forms/main/dist/images/teguh02-filament.jpg)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ff3d8fdfee5a37708488aa85f539e0cc58e3081bbe3b6fcd500123b7be07f0e2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746567756830322f696e646f6e657369612d7465727269746f72792d666f726d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/teguh02/indonesia-territory-forms)[![Total Downloads](https://camo.githubusercontent.com/306f3e058ecc4a3b07d74c68d416d9778be1e0df1a3a097fcdbbe5b4532ce7f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746567756830322f696e646f6e657369612d7465727269746f72792d666f726d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/teguh02/indonesia-territory-forms)

Features
--------

[](#features)

- ✅ Indonesia Territory Including: Province, City, District, Sub-Disctrict and Zip Code
- ✅ Cached Query To Make The Form More Faster
- ✅ Ready to Use
- ✅ No Needed Any Seeder

Screenshoot
-----------

[](#screenshoot)

[![Screenshot1](https://raw.githubusercontent.com/teguh02/Indonesia-Territory-Forms/main/dist/images/Screenshot1.png)](https://raw.githubusercontent.com/teguh02/Indonesia-Territory-Forms/main/dist/images/Screenshot1.png)

[![Screenshot2](https://raw.githubusercontent.com/teguh02/Indonesia-Territory-Forms/main/dist/images/Screenshot2.png)](https://raw.githubusercontent.com/teguh02/Indonesia-Territory-Forms/main/dist/images/Screenshot2.png)

[![Screenshot3](https://raw.githubusercontent.com/teguh02/Indonesia-Territory-Forms/main/dist/images/Screenshot3.png)](https://raw.githubusercontent.com/teguh02/Indonesia-Territory-Forms/main/dist/images/Screenshot3.png)

Demo
----

[](#demo)

[![DEMO](https://raw.githubusercontent.com/teguh02/Indonesia-Territory-Forms/main/dist/images/DEMO.gif)](https://raw.githubusercontent.com/teguh02/Indonesia-Territory-Forms/main/dist/images/DEMO.gif)

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

[](#installation)

You can install the package via composer:

```
composer require teguh02/indonesia-territory-forms
```

You can publish the config file with:

```
php artisan vendor:publish --tag="indonesia-territory-forms-config"
```

Optionally, you can publish the langs using

```
php artisan vendor:publish --tag=indonesia-territory-forms-lang
```

Usage
-----

[](#usage)

### Components or Custom Page

[](#components-or-custom-page)

For use this package on your component or custom page, you can see this form scheme sample below

```
use Teguh02\IndonesiaTerritoryForms\IndonesiaTerritoryForms;

public static function form(Form $form): Form
{
    return $form
        ->schema([
            // ... your fields here

            // Call the form
            IndonesiaTerritoryForms::make(),

            // ... your fields here
        ]);
}
```

### Migration

[](#migration)

If you want to add several column to store the data, you can make a new column according with your config forms\_name (you can't make a column with different name in forms\_name). For example please see this code below

```
Schema::create('users', function (Blueprint $table) {
    $table->id();
    $table->unsignedBigInteger('province_id')->nullable();
    $table->unsignedBigInteger('city_id')->nullable();
    $table->unsignedBigInteger('district_id')->nullable();
    $table->unsignedBigInteger('subdistrict_id')->nullable();
    $table->unsignedBigInteger('postal_code')->nullable();

    // Your another columns
    $table->string('name');
    $table->string('email')->unique();
});
```

But you have still can make dynamicaly the migration column name using `IndonesiaTerritoryForms` class in your migration below.

```
Schema::create('users', function (Blueprint $table) {
    $table->id();
    IndonesiaTerritoryForms::make_Columns($table);

    // Your another columns
    $table->string('name');
    $table->string('email')->unique();
});
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Teguh Rijanandi](https://github.com/teguh02)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

604d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/86437a73401dd2749be2dcae882e8a9937fe5dcd6b0d8895e5358c697f6a1898?d=identicon)[teguh02](/maintainers/teguh02)

---

Top Contributors

[![teguh02](https://avatars.githubusercontent.com/u/43981051?v=4)](https://github.com/teguh02 "teguh02 (39 commits)")

---

Tags

laravellaravel-filamentlaravelteguh02indonesia-territory-forms

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/teguh02-indonesia-territory-forms/health.svg)

```
[![Health](https://phpackages.com/badges/teguh02-indonesia-territory-forms/health.svg)](https://phpackages.com/packages/teguh02-indonesia-territory-forms)
```

###  Alternatives

[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

320392.1k17](/packages/codewithdennis-filament-select-tree)[ralphjsmit/laravel-filament-components

A collection of reusable components for Filament.

10972.2k2](/packages/ralphjsmit-laravel-filament-components)[schmeits/filament-character-counter

This is a Filament character counter TextField and Textarea form field for Filament v4 and v5

33184.7k6](/packages/schmeits-filament-character-counter)[defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

3212.4k](/packages/defstudio-filament-searchable-input)[codebar-ag/laravel-filament-json-field

A Laravel Filament JSON Field integration with CodeMirror support

1124.1k](/packages/codebar-ag-laravel-filament-json-field)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

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