PHPackages                             thuraaung2493/lara-mm-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. thuraaung2493/lara-mm-nrc

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

thuraaung2493/lara-mm-nrc
=========================

Laravel Myanmar NRC Tool.

v0.1.0(2y ago)13MITPHPPHP ^8.2

Since Nov 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/thuraaung2493/lara-mm-nrc)[ Packagist](https://packagist.org/packages/thuraaung2493/lara-mm-nrc)[ RSS](/packages/thuraaung2493-lara-mm-nrc/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

Laravel Myanmar NRC (**LaraMMNrc**)
===================================

[](#laravel-myanmar-nrc-larammnrc)

**It supports *Laravel 9+* and *PHP 8.2*+**

- [Laravel Myanmar NRC (**LaraMMNrc**)](#laravel-myanmar-nrc-larammnrc)
    - [Description](#description)
    - [Installation](#installation)
    - [Publish the config file](#publish-the-config-file)
    - [Usage](#usage)
        - [To Convert](#to-convert)
        - [To Check](#to-check)
        - [Nrc Instance](#nrc-instance)

Description
-----------

[](#description)

This package facilitates the conversion of Myanmar NRC to the English format and vice versa in the Myanmar format. Furthermore, it offers additional useful features.

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

[](#installation)

Require this package with composer using the following command:

```
composer require thuraaung2493/lara-mm-nrc
```

Publish the config file
-----------------------

[](#publish-the-config-file)

```
php artisan vendor:publish --provider="Thuraaung\LaraMmNrc\LaraMmNrcServiceProvider" --tag="lara-mm-nrc"
```

Usage
-----

[](#usage)

### To Convert

[](#to-convert)

```
  use Thuraaung\LaraMmNrc\LaraMmNrc;

  $mmNrc = "၈/မမန(နိုင်)၄၃၉၀၄၂"
  $enNrc = "8/MaMaNa(Naing)439042"
  LaraMmNrc::from($mmNrc)->toEng(); // "8/MaMaNa(Naing)439042"
  LaraMmNrc::from($enNrc)->toMm(); // "၈/မမန(နိုင်)၄၃၉၀၄၂"
  LaraMmNrc::of($mmNrc)->toInstance(); // Nrc
```

### To Check

[](#to-check)

```
  use Thuraaung\LaraMmNrc\LaraMmNrc;

  $nrc = "၈/မမန(နိုင်)၄၃၉၀၄၂"
  LaraMmNrc::of($nrc)->isValid(); // true
  LaraMmNrc::of($nrc)->isInvalid(); // false
  LaraMmNrc::of($nrc)->isMm(); // true
  LaraMmNrc::of($nrc)->isEn(); // false
```

### Nrc Instance

[](#nrc-instance)

```
  use Thuraaung\LaraMmNrc\LaraMmNrc;

  $enNrc = "8/MaMaNa(Naing)439042"

  $nrc = LaraMmNrc::from($mmNrc)->toInstance();

  $nrc->getFormat();
  $nrc->getOrigin();
  $nrc->getStateNo();
  $nrc->getState();
  $nrc->getDefaultDelimiters();
  $nrc->getTownshipCode();
  $nrc->getTownship();
  $nrc->getType();
  $nrc->getNumbers();
  $nrc->toUnformattedString();
  $nrc->toString();

  echo $nrc // "NRC string"
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

913d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6764acf86f328588b8b35a2e03683a19f42ed37d11dddb582256743c467d318f?d=identicon)[thuraaung2493](/maintainers/thuraaung2493)

---

Top Contributors

[![thuraaung2493](https://avatars.githubusercontent.com/u/22706964?v=4)](https://github.com/thuraaung2493 "thuraaung2493 (2 commits)")

---

Tags

converterlaravel-packagemmnrc

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/thuraaung2493-lara-mm-nrc/health.svg)

```
[![Health](https://phpackages.com/badges/thuraaung2493-lara-mm-nrc/health.svg)](https://phpackages.com/packages/thuraaung2493-lara-mm-nrc)
```

###  Alternatives

[symfony/webpack-encore-bundle

Integration of your Symfony app with Webpack Encore

95363.0M496](/packages/symfony-webpack-encore-bundle)

PHPackages © 2026

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