PHPackages                             toetet/myanmarnrc - 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. toetet/myanmarnrc

ActiveLibrary

toetet/myanmarnrc
=================

Package for Myanmar National Registration Card

1.0.4(5y ago)1342↓100%1MITPHPPHP &gt;=7.2.5

Since Oct 31Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Toe-Tet/myanmarnrc)[ Packagist](https://packagist.org/packages/toetet/myanmarnrc)[ Docs](https://github.com/Toe-Tet/myanmarnrc)[ RSS](/packages/toetet-myanmarnrc/feed)WikiDiscussions master Synced 1mo ago

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

Myanmar NRC
===========

[](#myanmar-nrc)

This package is for developers who difficult to find Myanmar NRC data. It is including to filter related townships with related regions.

Other functions related with NRC are also included.

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

[](#installation)

```
composer require toetet/myanmarnrc
```

Publish configuration and asset files

```
php artisan vendor:publish --provider="Toetet\MyanmarNrc\MyanmarNrcServiceProvider"
```

This will add new configuration file, js file and blade file

You can find

- config file at config/myanmarnrc.php
- js file at public/vendor/myanmarnrc.js
- blade file at resources/views/vendor/myanmarnrc/input.blade.php

In thease publish files, you are free to change them to anything to better match your application.

Bootstrap and Jquery are require. Bootstrap is for just better look.

```

```

Documentation
-------------

[](#documentation)

#### Include NRC Filter Input

[](#include-nrc-filter-input)

In your blade file, you can get NRC filter input easily as below.

```
\Toetet\MyanmarNrc\Facades\Nrc::input();
```

#### Get NRC Input Data

[](#get-nrc-input-data)

```
Nrc::data($request);				// 		1/KaMaTa(N)849832

Nrc::stateRegion($request);			//		1

Nrc::citizen($request);				//		N

Nrc::township($request);			//		KaMaTa

Nrc::number($request);				//		849832
```

#### Get State Region, Township, Citizen, Number by NRC String

[](#get-state-region-township-citizen-number-by-nrc-string)

NRC string must be valid format. In the format, "/", "(", ")" characters are essential.

```
$nrc = 	"Kachin/KAMATA(NAING)849832";		//		{state_region}/{township}({citizen}){number}

$nrc = 	"ကချင်ပြည်နယ်/ကမတ(နိုင်)၈၄၉၈၃၂";		//		{state_region}/{township}({citizen}){number}

$nrc = 	"1/KaMaTa(N)849832";			//		{state_region}/{township}({citizen}){number}

Nrc::getStateRegion($nrc);			//		1

Nrc::getCitizen($nrc);				//		N

Nrc::getTownship($nrc);				//		KaMaTa

Nrc::getNumber($nrc);				//		849832
```

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT](https://choosealicense.com/licenses/mit/) license. You are free to use it in personal and commercial projects.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

Total

5

Last Release

2016d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/625f07a7cb06f5327557d989badcb1332d55f8f3f942150d3a6efc5b4fb4d02d?d=identicon)[Toe-Tet](/maintainers/Toe-Tet)

---

Top Contributors

[![Toe-Tet](https://avatars.githubusercontent.com/u/28482781?v=4)](https://github.com/Toe-Tet "Toe-Tet (24 commits)")

---

Tags

laravelMyanmarnrctoetetnational registration cardmyanmarnrc

### Embed Badge

![Health badge](/badges/toetet-myanmarnrc/health.svg)

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

###  Alternatives

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)

PHPackages © 2026

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