PHPackages                             tintnaingwin/kuu-pyaung - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. tintnaingwin/kuu-pyaung

ActiveLibrary[Database &amp; ORM](/categories/database)

tintnaingwin/kuu-pyaung
=======================

Laravel package to convert resource files and database from zawgyi to unicode

v4.0.0(5y ago)15584[1 PRs](https://github.com/tintnaingwinn/kuu-pyaung/pulls)MITPHPPHP ^7.4

Since Sep 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/tintnaingwinn/kuu-pyaung)[ Packagist](https://packagist.org/packages/tintnaingwin/kuu-pyaung)[ Docs](https://github.com/tintnaingwin/kuu-pyaung)[ RSS](/packages/tintnaingwin-kuu-pyaung/feed)WikiDiscussions 5.x Synced today

READMEChangelog (10)Dependencies (10)Versions (21)Used By (0)

Convert resources files and database from zawgyi to unicode for Laravel apps
============================================================================

[](#convert-resources-files-and-database-from-zawgyi-to-unicode-for-laravel-apps)

[![Latest Version on Packagist](https://camo.githubusercontent.com/117f2c6ffd283c0765538ba7bc67b7fc0cb809c7ab10d79d9f774b9fab415df4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74696e746e61696e6777696e2f6b75752d707961756e672e737667)](https://packagist.org/packages/tintnaingwin/kuu-pyaung)[![Laravel 10.x](https://camo.githubusercontent.com/540748966581100bddf2fb60b744c38e16e00ec667c5f22dd6ae6554a3a41693/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31302e782d7265642e737667)](http://laravel.com)[![Laravel 9.x](https://camo.githubusercontent.com/c532a0456d444f24d52d5182a7501148227886bb0556aa020fb0258224f937fb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d392e782d7265642e737667)](http://laravel.com)[![Laravel 8.x](https://camo.githubusercontent.com/ab3298aa7dabdd5c5225db3293c3e1940974373dfe1c60a3462ba53fc653edb8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d382e782d7265642e737667)](http://laravel.com)

Kuu Pyaung Package converts resources files and databases from zawgyi to unicode.

If the context is unicode, don't worry about the conflict context, Kuu Pyaung hasn't converted unicode context to unicode again.

Requirements
------------

[](#requirements)

#### version-1.x

[](#version-1x)

- [PHP &gt;= 5.6.4](http://php.net/)
- [Laravel 5.2|5.3|5.4](https://github.com/laravel/framework)

#### version-2.x

[](#version-2x)

- [PHP &gt;= 7.0](http://php.net/)
- [Laravel 5.5|5.6|5.7](https://github.com/laravel/framework)

#### version-3.x

[](#version-3x)

- [PHP &gt;= 7.2](http://php.net/)
- [Laravel 5.8|6.x|7.x](https://github.com/laravel/framework)

#### version-4.x

[](#version-4x)

- [PHP &gt;= 7.4](http://php.net/)
- [Laravel 8.x](https://github.com/laravel/framework)

#### version-5.x

[](#version-5x)

- [PHP &gt;= 8.0](http://php.net/)
- [Laravel 8.x|9.x|10.x](https://github.com/laravel/framework)

Laravel Version Compatibility
-----------------------------

[](#laravel-version-compatibility)

LaravelPackagePHP5.2.x1.x&gt;=5.6.45.3.x1.x&gt;=5.6.45.4.x1.x&gt;=5.6.45.5.x2.x&gt;=7.0.05.6.x2.x&gt;=7.1.35.7.x2.x&gt;=7.1.35.8.x3.x&gt;=7.2.06.x3.x&gt;=7.2.07.x3.x&gt;=7.2.58.x4.x&gt;=7.49.x5.x&gt;=8.110.x5.x&gt;=8.1Installation and usage
----------------------

[](#installation-and-usage)

For Laravel 8.x

```
composer require tintnaingwin/kuu-pyaung:"~4.0"
```

For Laravel 5.8|6.x|7.x

```
composer require tintnaingwin/kuu-pyaung:"~3.0"
```

For Laravel 5.5|5.6|5.7

```
composer require tintnaingwin/kuu-pyaung:"~2.0"
```

For Laravel 5.2|5.3|5.4

```
composer require tintnaingwin/kuu-pyaung:"~1.0"
```

For laravel &gt;=5.5 that's all. This package supports Laravel new [Package Discovery](https://laravel.com/docs/5.5/packages#package-discovery).

If you are using Laravel &lt; 5.5, you also need to add the service provider class to your project's `config/app.php` file:

##### Service Provider

[](#service-provider)

```
Tintnaingwin\KuuPyaung\KuuPyaungServiceProvider::class,
```

You can publish the config-file with:

```
php artisan vendor:publish --provider="Tintnaingwin\KuuPyaung\KuuPyaungServiceProvider"
```

Artisan commands
----------------

[](#artisan-commands)

You can convert your app by running:

```
php artisan kuupyaung:run
```

If you would like to convert only the files, run:

```
php artisan kuupyaung:run --only-files
```

If you would like to convert only the database, run:

```
php artisan kuupyaung:run --only-database
```

Configuration
-------------

[](#configuration)

Kuu Pyaung can be configured directly in /config/kuu-pyaung.php.

This is the contents of the published config file:

```
return [

    /*
     * These resource directories only will be convert.
     */
    'include_files' => [
        'views',
        'lang', // lang/my
    ],

    /*
     * These database tables will be excluded from the convert.
     */
    'exclude_tables' => [
        'password_resets',
        'migrations',
        'failed_jobs',
        'telescope_entries',
        'telescope_entries_tags',
        'telescope_monitoring',
    ],

    /*
     * These database table columns will be excluded from the convert.
     *
     * The value of the some columns may be filenames or you don't want to convert.
     * Eg - 'table_name' => [ 'exclude_column', 'exclude_column' ]
     */
    'exclude_table_columns' => [
        'users' => [ 'profile_pic', 'file_path' ],
        'orders' => [ 'invoice_path' ]
    ]

];
```

**Files Convert**

This package convert only folder under the `resource directories`. You can determine which resource files will be convert.

```
    /*
     * These resource directories only will be convert.
     */
    'include_files' => [
        'views',
        'lang', // lang/my
    ],
```

**Database Convert**

*Exclude Tables* - Kuu Pyaung converts only `string` data types from the database. You can determine which tables will be excluded from the convert. In addition, if your table does not have `primary key (id or UUID)`, this table will not be converted.

```
    /*
     * These database tables will be excluded from the convert.
     */
    'exclude_tables' => [
            'password_resets',
            'migrations',
            'failed_jobs',
            'telescope_entries',
            'telescope_entries_tags',
            'telescope_monitoring',
    ],
```

*Exclude Columns* - If the value of some columns is maybe zawgyi filenames or file paths. you can add these columns in the exclude\_table\_columns at the config file.

```
    /*
     * These database table columns will be excluded from the convert.
     *
     * The value of the some columns may be filenames that you don't want to convert.
     * Eg - 'table_name' => [ 'exclude_column', 'exclude_column' ]
     */
    /*
    'exclude_table_columns' => [
        'users' => [ 'profile_pic', 'file_path' ],
        'orders' => [ 'invoice_path' ]
    ]
    */
```

**We highly recommend that you should use maintenance mode when you convert the database tables in production server.**

### Supported databases

[](#supported-databases)

- MySQL
- PostgreSQL
- SQLite

Troubleshoot
------------

[](#troubleshoot)

You can convert with kuu-pyaung in the following situations,

The first thing if you are using the laravel &lt;5.2
The second thing you don't want to install current project.

- First, create the [new laravel project](https://laravel.com/docs/8.x/installation#installing-laravel)
- Make sure to join the database.
- Make sure to install the [kuu-pyaung](#installation-and-usage)
- After that you can convert with kuu-pyaung

Testing
-------

[](#testing)

Run the tests with:

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Contributing
------------

[](#contributing-1)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity67

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~70 days

Recently: every ~274 days

Total

19

Last Release

1162d ago

Major Versions

v2.0.1 → v3.0.22019-09-28

v1.0.3 → v3.0.32019-09-30

2.x-dev → v3.0.52020-03-05

3.x-dev → v4.0.02020-09-29

4.x-dev → 5.x-dev2023-03-06

PHP version history (5 changes)v3.0.0PHP ^7.2

v2.0.0PHP &gt;=7.0

v1.0.0PHP &gt;=5.6

v4.0.0PHP ^7.4

5.x-devPHP ^8.1|^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13062143?v=4)[Tint Naing Win](/maintainers/tintnaingwin)[@tintnaingwin](https://github.com/tintnaingwin)

---

Tags

convert-filesdatabasefontkuu-pyaunglaravelmyanmarphpunicodezawgyiconvertunicodedatabaseresourcezawgyimyanmar-fontkuu-pyaung

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tintnaingwin-kuu-pyaung/health.svg)

```
[![Health](https://phpackages.com/badges/tintnaingwin-kuu-pyaung/health.svg)](https://phpackages.com/packages/tintnaingwin-kuu-pyaung)
```

###  Alternatives

[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M189](/packages/spatie-laravel-backup)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M87](/packages/laravel-doctrine-orm)[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
