php-junior/zawuni
Laravel Zawgyi Unicode
1,637
5
| Install | |
|---|---|
composer require php-junior/zawuni |
|
| Latest Version: | v1.2.1 |
| PHP: | >=5.6.4 |
| License: | MIT |
| Last Updated: | Aug 5, 2017 |
| Links: | GitHub · Packagist |
Maintainer: Nyi Nyi Lwin
Laravel Zawgyi Unicode
Installation
Install using composer:
composer require php-junior/zawuni
Once installed, in your project's config/app.php file replace the following entry from the providers array:
PhpJunior\Zawuni\ZawuniServiceProvider::class,
And
php artisan vendor:publish --provider="PhpJunior\Zawuni\ZawuniServiceProvider"
This is the contents of the published config file:
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
];
Usage
Add {!! Zawuni::includeFiles() !!} before <body>
Zawuni::text($string);
( or )
zawuni($string);
Credits
License
The MIT License (MIT). Please see License File for more information.