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. [Utility &amp; Helpers](/categories/utility)
4. /
5. toetet/myanmarnrc

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

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

Package for Myanmar National Registration Card

1.0.4(5y ago)13421MITPHPPHP &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 yesterday

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 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

2108d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28482781?v=4)[Toe-Tet](/maintainers/Toe-Tet)[@Toe-Tet](https://github.com/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

[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45844.8k1](/packages/pressbooks-pressbooks)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90157.6k](/packages/emargareten-inertia-modal)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.8k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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