PHPackages                             rezzakurniawan/locanesia - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. rezzakurniawan/locanesia

ActiveLibrary[Localization &amp; i18n](/categories/localization)

rezzakurniawan/locanesia
========================

Indonesia Province, City, Sub District, Villages. Data From nomor.net

v0.1.2(8y ago)62835MITPHPPHP ^7.0

Since Mar 23Pushed 8y ago4 watchersCompare

[ Source](https://github.com/erkurn/locanesia)[ Packagist](https://packagist.org/packages/rezzakurniawan/locanesia)[ RSS](/packages/rezzakurniawan-locanesia/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Locanesia
=========

[](#locanesia)

- [About](#about)
- [Demo](#demo)
- [Requirements](#requirements)
- [Installation Instructions](#installation-instructions)
- [Basic Usage](#basic-usage)
- [License](#license)

### About

[](#about)

Laravel Package to populate and searching indonesia locations. From Provinces To Villages. Data Scraped from

### Demo

[](#demo)

[![IMAGE ALT TEXT HERE](https://camo.githubusercontent.com/908cfad550bbb18a29f43053d54f0de12f44bbdc9bfe43a93a7931c84176841a/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f4f7a41394868354559576b2f302e6a7067)](https://www.youtube.com/watch?v=OzA9Hh5EYWk)

### Requirements

[](#requirements)

- [Laravel 5.5+](https://laravel.com/docs/installation)
- MySQL 5.6+ if using InnoDB

### Installation Instructions

[](#installation-instructions)

1. From your projects root folder in terminal run:

    ```
        composer require rezzakurniawan/locanesia
    ```
2. Register the package

    - Laravel 5.5 and up Uses package auto discovery feature, no need to edit the `config/app.php` file.
    - Laravel 5.4 and below Register the package with laravel in `config/app.php` under `providers` and `aliases` with the following:

    ```
        'providers' => [
        ...
            rezzakurniawan\Locanesia\LocanesiaServiceProvider::class,
        ];

        'aliases' => [
        ...
           'Locanesia' => rezzakurniawan\Locanesia\LocanesiaFacade::class,
        ];
    ```
3. Migrate Database &amp; Seed Database

    ```
        php artisan migrate && php artisan db:seed --class=rezzakurniawan\\Locanesia\\Database\\Seed\\LocationSeeder
    ```

### Basic Usage

[](#basic-usage)

variable term can part of full address, like "Buah Batu Bandung".

always call locanesia, use it :

```
    use rezzakurniawan\Locanesia\Locanesia;
```

1. For Full Text Search

```
    /**
     * Full Text Search Location
     *
     * @param String $term Village, Postcode, Province, City Or combine
     * @param String $response json|array
     * @return void
     */
    Locanesia::search($term, $response);
```

2. Get All Province

```
    /**
     * Get All Provinces
     *
     * @param String $response json|array
     * @return void
     */
    Locanesia::getProvinces($response);
```

3. Get All Cities By Provinces

```
    /**
     * Get All Provinces
     *
     * @param String $provinces Province Name
     * @param String $response json|array
     * @return void
     */
    Locanesia::getCities($provinces, $response);
```

4. Get Detail Location By Postcode

```
    /**
     * Get Detail Location By Postcode
     *
     * @param String $term postcode
     * @param String $response json|array
     * @return void
     */
    Locanesia::getLocationByPostCode($term, $type);
```

### License

[](#license)

Laravel Locanesia is Licensed under MIT. Enjoy!

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

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

Total

3

Last Release

2968d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/506bcd38fef1c18b6357f2d835cc3b89a6afb10fe47eed6908e0a8b528151521?d=identicon)[rezzakurniawan](/maintainers/rezzakurniawan)

---

Top Contributors

[![erkurn](https://avatars.githubusercontent.com/u/2738865?v=4)](https://github.com/erkurn "erkurn (16 commits)")

---

Tags

data-scrapinglaravellocalizationprovincevillage

### Embed Badge

![Health badge](/badges/rezzakurniawan-locanesia/health.svg)

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

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

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