PHPackages                             anuzpandey/laravel-nepal-geo - 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. anuzpandey/laravel-nepal-geo

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

anuzpandey/laravel-nepal-geo
============================

A Laravel Package for Nepal's Province, Districts and City Data.

1.3.0(10mo ago)01121[3 PRs](https://github.com/anuzpandey/laravel-nepal-geo/pulls)MITPHPPHP ^8.2CI passing

Since Jun 23Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/anuzpandey/laravel-nepal-geo)[ Packagist](https://packagist.org/packages/anuzpandey/laravel-nepal-geo)[ Docs](https://github.com/anuzpandey/laravel-nepal-geo)[ GitHub Sponsors](https://github.com/AnuzPandey)[ RSS](/packages/anuzpandey-laravel-nepal-geo/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (8)Versions (16)Used By (0)

A Laravel Package for Nepal's Province, Districts and City Data.
================================================================

[](#a-laravel-package-for-nepals-province-districts-and-city-data)

[![Latest Version on Packagist](https://camo.githubusercontent.com/32e39b80041ff6efb1117aeb11581f9c012762845253643d463bd2abcbbed405/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e757a70616e6465792f6c61726176656c2d6e6570616c2d67656f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/anuzpandey/laravel-nepal-geo)[![GitHub Tests Action Status](https://camo.githubusercontent.com/fe3d814d4e7eca0af0f38404ccb6005013adb0dce0968821b32a71a379130c5d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616e757a70616e6465792f6c61726176656c2d6e6570616c2d67656f2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/anuzpandey/laravel-nepal-geo/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/618a1c6a871f872220ad6000689dee7440b697840474aa725b475c5929f37905/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616e757a70616e6465792f6c61726176656c2d6e6570616c2d67656f2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/anuzpandey/laravel-nepal-geo/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/78a23185b2726e04370416c753346440e304cff4b4536dbe0feee85961a95faa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e757a70616e6465792f6c61726176656c2d6e6570616c2d67656f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/anuzpandey/laravel-nepal-geo)

This package provides a Laravel Migration and Seeder Files for Province, Districts and City of the country Nepal.

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

[](#installation)

You can install the package via composer:

```
composer require anuzpandey/laravel-nepal-geo
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="nepal-geo-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="nepal-geo-config"
```

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

After running the migrations, you can use the following seeder classes to seed the data.

```
use AnuzPandey\LaravelNepalGeo\Database\Seeders\NepalGeoSeeder;

class DatabaseSeeder extends Seeder
{
    public function run(): void
    {
        $this->call([
            // This will seed the data for Nepal's Province, Districts and City
            NepalGeoSeeder::class,
        ]);
    }
}
```

Or you can include individual seeder classes to seed the data.

```
use AnuzPandey\LaravelNepalGeo\Database\Seeders\DistrictSeeder;
use AnuzPandey\LaravelNepalGeo\Database\Seeders\CitySeeder;
use AnuzPandey\LaravelNepalGeo\Database\Seeders\StateSeeder;

class DatabaseSeeder extends Seeder
{
    public function run(): void
    {
        $this->call([
            StateSeeder::class,
            DistrictSeeder::class,
            CitySeeder::class,
        ]);
    }
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [AnuzPandey](https://github.com/anuzpandey)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance72

Regular maintenance activity

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 72.7% 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 ~48 days

Recently: every ~108 days

Total

10

Last Release

309d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25082225?v=4)[Anuz Pandey](/maintainers/anuzpandey)[@anuzpandey](https://github.com/anuzpandey)

---

Top Contributors

[![anuzpandey](https://avatars.githubusercontent.com/u/25082225?v=4)](https://github.com/anuzpandey "anuzpandey (40 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")[![nepaliayush](https://avatars.githubusercontent.com/u/59311977?v=4)](https://github.com/nepaliayush "nepaliayush (1 commits)")

---

Tags

laravel-nepallaravel-nepal-geonepal-geo-datanepal-geo-seeder-migrationnepal-state-district-citylaravelanuzpandeylaravel-nepal-geo

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/anuzpandey-laravel-nepal-geo/health.svg)

```
[![Health](https://phpackages.com/badges/anuzpandey-laravel-nepal-geo/health.svg)](https://phpackages.com/packages/anuzpandey-laravel-nepal-geo)
```

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[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.

329530.5k29](/packages/codewithdennis-filament-select-tree)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

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