php-junior/zawuni

Laravel Zawgyi Unicode

v1.2.1 2017-08-05 12:38 UTC

This package is auto-updated.

Last update: 2024-12-07 17:53:11 UTC


README

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.