PHPackages                             nertlab/geo-address - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. nertlab/geo-address

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

nertlab/geo-address
===================

Geo address validation and search library

1.0.0(7y ago)12MITPHPPHP &gt;=7.1.3

Since Mar 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nifrasismail/geo-address)[ Packagist](https://packagist.org/packages/nertlab/geo-address)[ RSS](/packages/nertlab-geo-address/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Geo Address - Importer
======================

[](#geo-address---importer)

This package is help you to import the master data about the geo address for the following fields.

- Country Code
- Place Name
- Postal Code
- State Code
- State Name
- Province Code
- Province Name
- Community Code
- Community Name
- Latitude
- Longitude

This approach is to import data to database in any supported for Laravel/Lumen

Installation
============

[](#installation)

```
composer require nertlab/geo-address

```

Usage
=====

[](#usage)

After the installation if you are going to use in Lumen project follow the steps:

Lumen Usage
-----------

[](#lumen-usage)

Copy the migration file `0000_00_00_000000_create_nertlab_addresses_table` from `vendor/nertlab/geo-address/migrations` folder and put into your applications database/migrations folder

There after run the `php artisan migrate` command to create the tables.

There after in your `app/Kernel.php` add the line as follow or update if exist

```
protected $commands = [
        Nertlab\GeoAddress\commands\AddressImportCommand::class
    ];
```

Therafter run the command `php artisan nertlab:address-import` and choose the country to import the data

Currently available countries and country codes
===============================================

[](#currently-available-countries-and-country-codes)

1. LK : Sri Lanka

Other countries available soon.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Unknown

Total

1

Last Release

2652d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c7a3c371ac1a2e160386246a3d0ec69c30b917449ff38619d85b9a2a8999129?d=identicon)[nifrasismail@gmail.com](/maintainers/nifrasismail@gmail.com)

---

Top Contributors

[![nifrasismail](https://avatars.githubusercontent.com/u/6188636?v=4)](https://github.com/nifrasismail "nifrasismail (1 commits)")

### Embed Badge

![Health badge](/badges/nertlab-geo-address/health.svg)

```
[![Health](https://phpackages.com/badges/nertlab-geo-address/health.svg)](https://phpackages.com/packages/nertlab-geo-address)
```

###  Alternatives

[chaoswey/taiwan-id-validator

台灣身分證、統一編號驗證

319.9k](/packages/chaoswey-taiwan-id-validator)

PHPackages © 2026

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