PHPJunior / laravel-zawgyi-uni by Nyi Nyi Lwin

Laravel Zawgyi Unicode
1,567
4
2
Package Data
Maintainer Username: Nyi Nyi Lwin
Maintainer Contact: nyinyilwin1992@hotmail.com (Nyi Nyi Lwin)
Package Create Date: 2017-06-19
Package Last Update: 2017-08-05
Language: PHP
License: MIT
Last Refreshed: 2024-04-18 15:11:39
Package Statistics
Total Downloads: 1,567
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 4
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

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.