LaravelPackages.net
Acme Inc.
Toggle sidebar
php-junior/zawuni

Laravel Zawgyi Unicode

1.646
5
v1.2.1
About php-junior/zawuni

php-junior/zawuni is a Laravel package for laravel zawgyi unicode. It currently has 5 GitHub stars and 1.646 downloads on Packagist (latest version v1.2.1). Install it with composer require php-junior/zawuni. Discover more Laravel packages by php-junior or browse all Laravel packages to compare alternatives.

Last updated

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.

Star History Chart