PHP code example of spanjaan / wn-nepaliunicode-plugin
1. Go to this page and download the library: Download spanjaan/wn-nepaliunicode-plugin 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/ */
spanjaan / wn-nepaliunicode-plugin example snippets
use SpAnjaan\NepaliUnicode\Classes\PreetiConverter;
$unicode = PreetiConverter::convert($preetiText);
use SpAnjaan\NepaliUnicode\Classes\HisabConverter;
$unicode = HisabConverter::convert($hisabText);
use SpAnjaan\NepaliUnicode\Classes\FontConverter;
$hisab = FontConverter::preetiToHisab($preetiText);
$preeti = FontConverter::hisabToPreeti($hisabText);