php-junior / zawuni
Laravel Zawgyi Unicode
Installs: 1 598
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.6.4
This package is auto-updated.
Last update: 2024-12-07 17:53:11 UTC
README
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.