01/07
2016
Wallogit.com
2017 © Pedro Peláez
Install using composer:, (*2)
composer require php-junior/zawuni
Once installed, in your project's config/app.php file replace the following entry from the providers array:, (*3)
PhpJunior\Zawuni\ZawuniServiceProvider::class,
And, (*4)
php artisan vendor:publish --provider="PhpJunior\Zawuni\ZawuniServiceProvider"
This is the contents of the published config file:, (*5)
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
];
Add {!! Zawuni::includeFiles() !!} before <body>, (*6)
Zawuni::text($string);
( or )
zawuni($string);
The MIT License (MIT). Please see License File for more information., (*7)