PHPackages                             jijihohococo/myanmar-alphabet-sorting - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jijihohococo/myanmar-alphabet-sorting

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jijihohococo/myanmar-alphabet-sorting
=====================================

Myanmar Alphabet Sorting for PHP

v3.1(4y ago)0260↓50%MITPHPPHP ^7.2|^8.0CI passing

Since Jul 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jijihohococo/myanmar-alphabet-sorting)[ Packagist](https://packagist.org/packages/jijihohococo/myanmar-alphabet-sorting)[ RSS](/packages/jijihohococo-myanmar-alphabet-sorting/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

Myanmar Alphabet Sorting for PHP
================================

[](#myanmar-alphabet-sorting-for-php)

This library is aimed to sort Myanmar Alphabets (both Unicode and Zawgyi Code) Array in PHP

License
-------

[](#license)

This package is Open Source According to [MIT license](LICENSE.md)

Installing Library Via Composer
-------------------------------

[](#installing-library-via-composer)

Firstly, you need to add some data in your repositories of composer.json as shown as below

```
"repositories": [
        {
            "name": "jijihohococo/myanmar-alphabet-sorting",
            "type": "vcs",
            "url": "git@github.com:jijihohococo/myanmar-alphabet-sorting.git"
        }
    ],
```

And then, run below code in command line.

```
composer require jijihohococo/myanmar-alphabet-sorting
```

Usage
-----

[](#usage)

You can sort Myanmar Alphabets like below in ascending order

```
use JiJiHoHoCoCo\MyanmarAlphabetSorting\Sorting;
$array = [ "က",
"ကား",
"ကိ",
"ကီ",
"ကေ",
"ကု",
"ကူ",
"ကူး",
"ကာ"];
Sorting::ascendingOrder($array);
```

You can sort Myanmar Alphabets like below in descending order

```
Sorting::descendingOrder($array);
```

You can sort Myanmar Alphabets by field name in multi dimensional array with both ascending and descending order.

```
$multiDimensionalArray = [
['name'=>'ကေကေ',"age"=>'12'],
['name'=>'ကီကီ','age'=>'14'],
['name'=>'ကူးကူး','age'=>'13']
];

Sorting::ascendingMulti($multiDimensionalArray,'name');
Sorting::descendingMulti($multiDimensionalArray,'name');
```

You can also sort Myanmar Alphabets by field name which might include duplicated value sometimes in multi dimensional array with both ascending and descending order.

```
$duplicatedMultiDimensionalArray = [
['name'=>'ကေကေ',"age"=>'12'],
['name'=>'ကီကီ','age'=>'14'],
['name'=>'ကူးကူး','age'=>'13'],
['name'=>'ကီကီ','age'=>'20']
];

Sorting::ascendingMulti($duplicatedMultiDimensionalArray,'name');
Sorting::descendingMulti($duplicatedMultiDimensionalArray,'name');
```

References
----------

[](#references)

### Hope you enjoy!

[](#hope-you-enjoy)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

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 ~4 days

Total

5

Last Release

1747d ago

Major Versions

v1.5 → v3.12021-07-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/79d474fd8574bf6fb6a471530869071003a9ea38bbd5c25abfe7dc3f92d28676?d=identicon)[JiJiHoHoCoCo](/maintainers/JiJiHoHoCoCo)

---

Top Contributors

[![suzume98](https://avatars.githubusercontent.com/u/48427296?v=4)](https://github.com/suzume98 "suzume98 (24 commits)")[![jijihohococo](https://avatars.githubusercontent.com/u/53247594?v=4)](https://github.com/jijihohococo "jijihohococo (12 commits)")

---

Tags

phpphp-libraryphp7sorting-algorithmsphpmyanmar alphabet sortingmyanmar alphabet sorting for php

### Embed Badge

![Health badge](/badges/jijihohococo-myanmar-alphabet-sorting/health.svg)

```
[![Health](https://phpackages.com/badges/jijihohococo-myanmar-alphabet-sorting/health.svg)](https://phpackages.com/packages/jijihohococo-myanmar-alphabet-sorting)
```

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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