php-junior/zawuni

Laravel Zawgyi Unicode

Downloads

1569

Stars

4

Version

v1.2.1

Laravel Zawgyi Unicode

StyleCI Latest Stable Version Total Downloads

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.

PHPJunior

Author

PHPJunior