1. Go to this page and download the library: Download laravel-myanmar-tools/nrc library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
laravel-myanmar-tools / nrc example snippets
use LaravelMyanmarTools\Nrc\Nrc;
$nrc = new Nrc;
$nrc->isNrc('12/OUKAMA(N)123456'); // return true
$nrc->isNrc('12/OuKaMa(Naing)123456'); // return true
$nrc->isNrc('၁၂/ဥကမ(နိုင်)၁၂၃၄၅၆'); // return true