PHPackages                             kodefarmers/nepaldata - 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. kodefarmers/nepaldata

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

kodefarmers/nepaldata
=====================

A laravel package to fetch Nepal data (Provinces, Districts, Municipalities).

v1.1.2(1y ago)1132MITPHP

Since Feb 14Pushed 1y agoCompare

[ Source](https://github.com/kodefarmers/nepaldata)[ Packagist](https://packagist.org/packages/kodefarmers/nepaldata)[ RSS](/packages/kodefarmers-nepaldata/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (1)Versions (5)Used By (0)

A laravel package to fetch Nepal data (Provinces, Districts, Municipalities).
=============================================================================

[](#a-laravel-package-to-fetch-nepal-data-provinces-districts-municipalities)

[![Issues](https://camo.githubusercontent.com/ec70d35d38ba904bab232dbdec0f8a9a9ffc6f6a6a5226dd9fda34784c2f229a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6b6f64656661726d6572732f6e6570616c646174612e7376673f7374796c653d666c61742d737175617265)](https://github.com/kodefarmers/nepaldata/issues)[![Latest Version](https://camo.githubusercontent.com/ce98eae8c59db2a03dc00bd88f4bfcb728042e05bb79e1690fafef0b53fda7b0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6b6f64656661726d6572732f6e6570616c646174612e7376673f7374796c653d666c61742d737175617265)](https://github.com/kodefarmers/nepaldata/releases)[![Total Downloads](https://camo.githubusercontent.com/c807be11b7fa7b79680fad32632d7f39f51900e233f349e25dcd336535d27467/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6f64656661726d6572732f6e6570616c646174612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kodefarmers/nepaldata)

NepalData is a laravel package that provides easy access to information about Nepal: Provinces, Districts, Municipalities. With this package, you can quickly and easily retrieve data about Nepal to use in your Laravel application.

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

[](#installation)

You can install the package via Composer:

```
$ composer require kodefarmers/nepaldata
```

The Laravel facade and service provider are registered through auto-discovery, so you can instantly start using it.

Usage
-----

[](#usage)

This package publishes a Laravel facade for easier usage:

```
use KodeFarmers\NepalData\Facades\NepalData;

return NepalData::all(); // returns all data i.e provinces with its districts with its localbodies
return NepalData::all('devanagari'); // returns all data in nepali text

return NepalData::provinces(); // get all provinces
return NepalData::provinces('devanagari'); // get all provinces in nepali text

return NepalData::with('districts')->provinces(); // get all provinces with districts
return NepalData::with('districts')->provinces('devanagari'); // get all provinces with districts in nepali text

return NepalData::districts(); // get all districts
return NepalData::districts('devanagari'); // get all districts in nepali text

return NepalData::with('localbodies')->districts(); // get all districts with localbodies
return NepalData::with('localbodies')->districts('devanagari'); // get all districts with localbodies in nepali text
```

Example:

```
return NepalData::all(); // it'll return:
{
  "Province No. 1": {
    "Taplejung": {
      "Ma.Na.Pa.": [],
      "Upa.Ma.": [],
      "Na.Pa.": [
        "Taplejung(Phungling)"
      ],
      "Ga.Pa.": [
        "Sirijangha",
        "AathraiTriveni",
        "PathibharaYangwarak",
        "Meringden",
        "Sidingwa",
        "Phaktanglung",
        "MaiwaKhola",
        "MikwaKhola"
      ]
    },
    .
    .
```

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

[](#contributing)

We welcome contributions from the community! If you have an idea for a new feature or improvement, please submit a pull request. We also appreciate bug reports and other feedback.

To get started with contributing, simply fork this repository, make your changes, and submit a pull request.

License
-------

[](#license)

This project is licensed under [MIT](https://opensource.org/license/mit-0/)

Self-Promotion
--------------

[](#self-promotion)

Star the repository on [Github](https://github.com/kodefarmers/nepaldata)

Follow on [Github](https://github.com/kodefarmers)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance41

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community6

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

Total

4

Last Release

487d ago

Major Versions

v0.1.0 → v1.0.02024-05-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/454fe2ab876ac122191e2c17774430f8879ab3f181d79efdd6832cfa1b260a6d?d=identicon)[shivajichalise](/maintainers/shivajichalise)

---

Top Contributors

[![shivajichalise](https://avatars.githubusercontent.com/u/33979290?v=4)](https://github.com/shivajichalise "shivajichalise (10 commits)")

---

Tags

composer-packagelaravellaravel-packagenepalnepal-datanepal-districtsnepal-infonepal-provincesphp

### Embed Badge

![Health badge](/badges/kodefarmers-nepaldata/health.svg)

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

###  Alternatives

[log1x/poet

Configuration-based post type, taxonomy, editor color palette, block category, and block registration for Sage 10.

219300.5k1](/packages/log1x-poet)[jmosbech/sticky-table-headers

jQuery sticky table headers plugin

9035.3k](/packages/jmosbech-sticky-table-headers)[ackintosh/snidel

A multi-process container. It looks like multi-thread-ish.

1051.2k](/packages/ackintosh-snidel)

PHPackages © 2026

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