PHPackages                             laranex/laravel-myanmar-nrc - 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. laranex/laravel-myanmar-nrc

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

laranex/laravel-myanmar-nrc
===========================

A Laravel package to deal with NRC from Myanmar

v2.0.0(1y ago)44.5k↓50%2MITPHPPHP ^8.0.2

Since Oct 19Pushed 1y agoCompare

[ Source](https://github.com/laranex/laravel-myanmar-nrc)[ Packagist](https://packagist.org/packages/laranex/laravel-myanmar-nrc)[ Docs](https://github.com/Laranex/laravel-myanmar-nrc)[ RSS](/packages/laranex-laravel-myanmar-nrc/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

LARAVEL MYANMAR NRC
===================

[](#laravel-myanmar-nrc)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b151d3740b9545c8da757bba3e1a04beaec00dd7a7c7db8cce2a7ec2f2efa618/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4c6172616e65782f6c61726176656c2d6d79616e6d61722d6e72632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Laranex/laravel-myanmar-nrc)[![Total Downloads](https://camo.githubusercontent.com/02a3c2d5565ce69dfbbf481d5e34ffa7bfe1256a2449c09e9eceef9430505017/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4c6172616e65782f6c61726176656c2d6d79616e6d61722d6e72632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Laranex/laravel-myanmar-nrc)

A Laravel package to deal with NRC from Myanmar.

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

[](#installation)

You can install the package via composer:

```
composer require Laranex/laravel-myanmar-nrc

#This will create required tables for handing NRC from Myanmar
php artisan migrate

#This will read the nrc data from predefined json file and insert into database
php artisan mm-nrc:seed
```

Configuration
-------------

[](#configuration)

```
php artisan vendor:publish --tag="laravel-myanmar-nrc"
```

OptionDescriptionDefault ValuelocaleLocale to be use to parse the NRCenjson\_filePath of the predefined json file, you can replace with yours and do not forget to re-run `php php artisan mm-nrc:seed` after that.nrc.jsondb\_drivenDefines if the application use database or json file to validate and parse the nrctrueSupported Functions
-------------------

[](#supported-functions)

- Validation of NRC
- Full set of predefined [NRC List](src/Data/nrc.json) (You can replace or override with yours)
- Multiple language for NRC (Myanmar, English)

NOTE
----

[](#note)

- This package use ID based network communication to secure the NRC data &amp; enhance the Validation, Parsing.
- example format of NRC data from a network request

    - X-X-X-12345
    - Where the very fist X represents the ID of the STATE in database/json, the second X is for TOWNSHIP and the last is for TYPE of the NRC.

Usage
-----

[](#usage)

```
    //Validation
    new \Laranex\LaravelMyanmarNRC\Rules\MyanmarNRC()

    //Parsing the NRC from network
    \Laranex\LaravelMyanmarNRC\LaravelMyanmarNrcFacade::parseNRC($nrc, $dbDriven, $lang)
        (OR)
    \Laranex\LaravelMyanmarNRC\LaravelMyanmarNrc::parseNRC($nrc, $dbDriven, $lang)

    //$nrc represents the nrc (X-X-X-12345) from network,
    //$drDriven defines if the application use database or predefined json file to parse, validate the nrc and,
    //$lang is for the Languages (mm and en are supported) to be used in parsing.

    //default values for $dbDriven & $lang will be read from config file if you do not pass the values to the method.
```

### Changelog

[](#changelog)

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

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

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

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Recently: every ~166 days

Total

8

Last Release

623d ago

Major Versions

v1.0.7 → v2.0.02024-08-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/e2325853b60b6406c6858e62ccac7bc18920067222cd3d704e288aacc0d29798?d=identicon)[NayThuKhant](/maintainers/NayThuKhant)

---

Top Contributors

[![NayThuKhant](https://avatars.githubusercontent.com/u/61656360?v=4)](https://github.com/NayThuKhant "NayThuKhant (12 commits)")

---

Tags

laranexlaravel-myanmar-nrc

### Embed Badge

![Health badge](/badges/laranex-laravel-myanmar-nrc/health.svg)

```
[![Health](https://phpackages.com/badges/laranex-laravel-myanmar-nrc/health.svg)](https://phpackages.com/packages/laranex-laravel-myanmar-nrc)
```

###  Alternatives

[illuminate/support

The Illuminate Support package.

583107.1M34.5k](/packages/illuminate-support)[pragmarx/countries

PHP Countries and Currencies

1.9k3.3M18](/packages/pragmarx-countries)[illuminate/events

The Illuminate Events package.

13454.3M1.8k](/packages/illuminate-events)[illuminate/config

The Illuminate Config package.

10842.7M2.2k](/packages/illuminate-config)[illuminate/session

The Illuminate Session package.

9937.4M753](/packages/illuminate-session)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)

PHPackages © 2026

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