{"id":27610307,"url":"https://github.com/tintnaingwin/kuu-pyaung","last_synced_at":"2025-08-12T06:05:37.294Z","repository":{"id":57070096,"uuid":"210023219","full_name":"tintnaingwin/kuu-pyaung","owner":"tintnaingwin","description":"Laravel package to convert files and database from zawgyi to unicode.","archived":false,"fork":false,"pushed_at":"2023-05-29T02:06:02.000Z","size":55,"stargazers_count":15,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"5.x","last_synced_at":"2025-07-23T19:48:11.035Z","etag":null,"topics":["convert-files","database","font","kuu-pyaung","laravel","myanmar","php","unicode","zawgyi"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tintnaingwin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-21T17:04:45.000Z","updated_at":"2025-03-16T07:01:25.000Z","dependencies_parsed_at":"2024-11-17T22:45:14.221Z","dependency_job_id":"38be4922-9492-4e30-b0f9-64bc297387f9","html_url":"https://github.com/tintnaingwin/kuu-pyaung","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":0.2962962962962963,"last_synced_commit":"88efb1738a233bff8a08fbd684593fcd90f5a9aa"},"previous_names":["tintnaingwin/kuu-pyaung"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/tintnaingwin/kuu-pyaung","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tintnaingwin%2Fkuu-pyaung","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tintnaingwin%2Fkuu-pyaung/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tintnaingwin%2Fkuu-pyaung/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tintnaingwin%2Fkuu-pyaung/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tintnaingwin","download_url":"https://codeload.github.com/tintnaingwin/kuu-pyaung/tar.gz/refs/heads/5.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tintnaingwin%2Fkuu-pyaung/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270011172,"owners_count":24511896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["convert-files","database","font","kuu-pyaung","laravel","myanmar","php","unicode","zawgyi"],"created_at":"2025-04-22T23:06:15.080Z","updated_at":"2025-08-12T06:05:37.249Z","avatar_url":"https://github.com/tintnaingwin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Convert resources files and database from zawgyi to unicode for Laravel apps\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/tintnaingwin/kuu-pyaung.svg)](https://packagist.org/packages/tintnaingwin/kuu-pyaung)\n[![Laravel 10.x](https://img.shields.io/badge/Laravel-10.x-red.svg)](http://laravel.com)\n[![Laravel 9.x](https://img.shields.io/badge/Laravel-9.x-red.svg)](http://laravel.com)\n[![Laravel 8.x](https://img.shields.io/badge/Laravel-8.x-red.svg)](http://laravel.com)\n\nKuu Pyaung Package converts resources files and databases from zawgyi to unicode.\n \nIf the context is unicode, don't worry about the conflict context, Kuu Pyaung hasn't converted unicode context to unicode again. \n\n## Requirements\n\n#### version-1.x\n\n- [PHP \u003e= 5.6.4](http://php.net/)\n- [Laravel 5.2|5.3|5.4](https://github.com/laravel/framework)\n\n#### version-2.x\n\n- [PHP \u003e= 7.0](http://php.net/)\n- [Laravel 5.5|5.6|5.7](https://github.com/laravel/framework)\n\n#### version-3.x\n\n- [PHP \u003e= 7.2](http://php.net/)\n- [Laravel 5.8|6.x|7.x](https://github.com/laravel/framework)\n\n#### version-4.x\n\n- [PHP \u003e= 7.4](http://php.net/)\n- [Laravel 8.x](https://github.com/laravel/framework)\n\n#### version-5.x\n\n- [PHP \u003e= 8.0](http://php.net/)\n- [Laravel 8.x|9.x|10.x](https://github.com/laravel/framework)\n\n## Laravel Version Compatibility\n\n| Laravel | Package | PHP     |\n|---------|---------|---------|\n| 5.2.x   | 1.x     | \u003e=5.6.4 |\n| 5.3.x   | 1.x     | \u003e=5.6.4 |\n| 5.4.x   | 1.x     | \u003e=5.6.4 |\n| 5.5.x   | 2.x     | \u003e=7.0.0 |\n| 5.6.x   | 2.x     | \u003e=7.1.3 |\n| 5.7.x   | 2.x     | \u003e=7.1.3 |\n| 5.8.x   | 3.x     | \u003e=7.2.0 |\n| 6.x     | 3.x     | \u003e=7.2.0 |\n| 7.x     | 3.x     | \u003e=7.2.5 |\n| 8.x     | 4.x     | \u003e=7.4   |\n| 9.x     | 5.x     | \u003e=8.1   |\n| 10.x    | 5.x     | \u003e=8.1   |\n \n## Installation and usage\n\nFor Laravel 8.x\n\n``` bash\ncomposer require tintnaingwin/kuu-pyaung:\"~4.0\"\n```\n\nFor Laravel 5.8|6.x|7.x\n\n``` bash\ncomposer require tintnaingwin/kuu-pyaung:\"~3.0\"\n```\n\nFor Laravel 5.5|5.6|5.7\n\n``` bash\ncomposer require tintnaingwin/kuu-pyaung:\"~2.0\"\n```\n\nFor Laravel 5.2|5.3|5.4\n\n``` bash\ncomposer require tintnaingwin/kuu-pyaung:\"~1.0\"\n```\n\nFor laravel \u003e=5.5 that's all. This package supports Laravel new [Package Discovery](https://laravel.com/docs/5.5/packages#package-discovery).\n\nIf you are using Laravel \u003c 5.5, you also need to add the service provider class to your project's `config/app.php` file:\n\n##### Service Provider\n```php\nTintnaingwin\\KuuPyaung\\KuuPyaungServiceProvider::class,\n```\n\nYou can publish the config-file with:\n\n``` bash\nphp artisan vendor:publish --provider=\"Tintnaingwin\\KuuPyaung\\KuuPyaungServiceProvider\"\n```\n## Artisan commands\n\nYou can convert your app by running:\n\n``` bash\nphp artisan kuupyaung:run\n```\n\nIf you would like to convert only the files, run:\n``` bash\nphp artisan kuupyaung:run --only-files\n```\n\nIf you would like to convert only the database, run:\n``` bash\nphp artisan kuupyaung:run --only-database\n```\n\n## Configuration\n\nKuu Pyaung can be configured directly in /config/kuu-pyaung.php.\n\nThis is the contents of the published config file:\n``` php\nreturn [\n\n    /*\n     * These resource directories only will be convert.\n     */\n    'include_files' =\u003e [\n        'views',\n        'lang', // lang/my\n    ],\n\n    /*\n     * These database tables will be excluded from the convert.\n     */\n    'exclude_tables' =\u003e [\n        'password_resets',\n        'migrations',\n        'failed_jobs',\n        'telescope_entries',\n        'telescope_entries_tags',\n        'telescope_monitoring',\n    ],\n    \n    /*\n     * These database table columns will be excluded from the convert.\n     *\n     * The value of the some columns may be filenames or you don't want to convert.\n     * Eg - 'table_name' =\u003e [ 'exclude_column', 'exclude_column' ]\n     */\n    'exclude_table_columns' =\u003e [\n        'users' =\u003e [ 'profile_pic', 'file_path' ],\n        'orders' =\u003e [ 'invoice_path' ]\n    ]\n    \n];\n```\n\n**Files Convert**\n\nThis package convert only folder under the `resource directories`. You can determine which resource files will be convert. \n\n``` php\n    /*\n     * These resource directories only will be convert.\n     */\n    'include_files' =\u003e [\n        'views',\n        'lang', // lang/my\n    ],\n```\n\n**Database Convert**\n\n*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,\nif your table does not have `primary key (id or UUID)`, this table will not be converted. \n\n``` php\n    /*\n     * These database tables will be excluded from the convert.\n     */\n    'exclude_tables' =\u003e [\n            'password_resets',\n            'migrations',\n            'failed_jobs',\n            'telescope_entries',\n            'telescope_entries_tags',\n            'telescope_monitoring',\n    ],\n```\n\n*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.  \n\n``` php\n    /*\n     * These database table columns will be excluded from the convert.\n     *\n     * The value of the some columns may be filenames that you don't want to convert.\n     * Eg - 'table_name' =\u003e [ 'exclude_column', 'exclude_column' ]\n     */\n    /*\n    'exclude_table_columns' =\u003e [\n        'users' =\u003e [ 'profile_pic', 'file_path' ],\n        'orders' =\u003e [ 'invoice_path' ]\n    ]\n    */\n```\n\n**We highly recommend that you should use maintenance mode when you convert the database tables in production server.**\n\n### Supported databases\n\n- MySQL\n- PostgreSQL\n- SQLite\n\n## Troubleshoot\n\nYou can convert with kuu-pyaung in the following situations,\n\nThe first thing if you are using the laravel \u003c5.2 \u003cbr\u003e\nThe second thing you don't want to install current project.\n\n- First, create the [new laravel project](https://laravel.com/docs/8.x/installation#installing-laravel)\n- Make sure to join the database.\n- Make sure to install the [kuu-pyaung](#installation-and-usage)\n- After that you can convert with kuu-pyaung\n\n## Testing\n\nRun the tests with:\n\n``` bash\ncomposer test\n```\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftintnaingwin%2Fkuu-pyaung","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftintnaingwin%2Fkuu-pyaung","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftintnaingwin%2Fkuu-pyaung/lists"}