PHP code example of php-junior / zawuni

1. Go to this page and download the library: Download php-junior/zawuni 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/ */

    

php-junior / zawuni example snippets


PhpJunior\Zawuni\ZawuniServiceProvider::class,
 
php artisan vendor:publish --provider="PhpJunior\Zawuni\ZawuniServiceProvider"

return [
    /*
   |--------------------------------------------------------------------------
   | Font Configuration
   |--------------------------------------------------------------------------
   |
   | Available Fonts: "zawgyi", "myanmar3" ,"yunghkio","masterpiece","padauk"
   |                  "monanonta","ourunicode","imon","mymyanmar","pyidaungsu"
   |
   */

    // default : zawgyi
    'font' => 'ourunicode',

    // define class name in input , textarea
    'define_class' => false
];

Zawuni::text($string);

    ( or )

zawuni($string);
json
composer