{"id":36994115,"url":"https://github.com/erkurn/locanesia","last_synced_at":"2026-01-13T23:46:19.851Z","repository":{"id":62535308,"uuid":"125979938","full_name":"erkurn/locanesia","owner":"erkurn","description":"Laravel Package to populate and searching indonesia locations. From Provinces To Villages. Data Scraped from http://www.nomor.net/","archived":false,"fork":false,"pushed_at":"2018-03-27T12:36:17.000Z","size":2794,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-29T09:37:37.214Z","etag":null,"topics":["data-scraping","laravel","localization","province","village"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erkurn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-20T07:49:00.000Z","updated_at":"2020-09-15T13:39:17.000Z","dependencies_parsed_at":"2022-11-02T15:01:08.220Z","dependency_job_id":null,"html_url":"https://github.com/erkurn/locanesia","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/erkurn/locanesia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkurn%2Flocanesia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkurn%2Flocanesia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkurn%2Flocanesia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkurn%2Flocanesia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erkurn","download_url":"https://codeload.github.com/erkurn/locanesia/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkurn%2Flocanesia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-scraping","laravel","localization","province","village"],"created_at":"2026-01-13T23:46:19.789Z","updated_at":"2026-01-13T23:46:19.846Z","avatar_url":"https://github.com/erkurn.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Locanesia\n\n- [About](#about)\n- [Demo](#demo)\n- [Requirements](#requirements)\n- [Installation Instructions](#installation-instructions)\n- [Basic Usage](#basic-usage)\n- [License](#license)\n\n### About\n\nLaravel Package to populate and searching indonesia locations. From Provinces To Villages. Data Scraped from http://www.nomor.net/\n\n### Demo\n[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/OzA9Hh5EYWk/0.jpg)](https://www.youtube.com/watch?v=OzA9Hh5EYWk)\n\n### Requirements\n* [Laravel 5.5+](https://laravel.com/docs/installation)\n* MySQL 5.6+ if using InnoDB\n\n### Installation Instructions\n1. From your projects root folder in terminal run:\n\n    ```bash\n        composer require rezzakurniawan/locanesia\n    ```\n\n2. Register the package\n\n    * Laravel 5.5 and up\n    Uses package auto discovery feature, no need to edit the `config/app.php` file.\n\n    * Laravel 5.4 and below\n    Register the package with laravel in `config/app.php` under `providers` and `aliases` with the following:\n\n    ```php\n        'providers' =\u003e [\n        ...\n            rezzakurniawan\\Locanesia\\LocanesiaServiceProvider::class,\n        ];\n\n        'aliases' =\u003e [\n        ...\n           'Locanesia' =\u003e rezzakurniawan\\Locanesia\\LocanesiaFacade::class,\n        ];\n    ```\n\n3. Migrate Database \u0026 Seed Database\n    ```bash\n        php artisan migrate \u0026\u0026 php artisan db:seed --class=rezzakurniawan\\\\Locanesia\\\\Database\\\\Seed\\\\LocationSeeder\n    ```\n\n### Basic Usage\nvariable term can part of full address, like \"Buah Batu Bandung\".\n\nalways call locanesia, use it : \n``` php\n    use rezzakurniawan\\Locanesia\\Locanesia;\n```\n\n1. For Full Text Search\n```php\n    /**\n     * Full Text Search Location\n     *\n     * @param String $term Village, Postcode, Province, City Or combine\n     * @param String $response json|array\n     * @return void\n     */\n    Locanesia::search($term, $response);\n```\n2. Get All Province\n```php\n    /**\n     * Get All Provinces\n     *\n     * @param String $response json|array\n     * @return void\n     */\n    Locanesia::getProvinces($response);\n```\n3. Get All Cities By Provinces\n```php\n    /**\n     * Get All Provinces\n     *\n     * @param String $provinces Province Name\n     * @param String $response json|array\n     * @return void\n     */\n    Locanesia::getCities($provinces, $response);\n```\n4. Get Detail Location By Postcode\n```php\n    /**\n     * Get Detail Location By Postcode\n     *\n     * @param String $term postcode\n     * @param String $response json|array\n     * @return void\n     */\n    Locanesia::getLocationByPostCode($term, $type);\n```\n\n### License\nLaravel Locanesia is Licensed under MIT. Enjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferkurn%2Flocanesia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferkurn%2Flocanesia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferkurn%2Flocanesia/lists"}