PHPackages                             mrlinnth/mm-regions-cities - 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. mrlinnth/mm-regions-cities

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

mrlinnth/mm-regions-cities
==========================

Myanmar regions and cities data

0.1.1(6y ago)5630—5.9%4MITPHPPHP &gt;=7.0.0

Since Apr 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mrlinnth/mm-regions-cities)[ Packagist](https://packagist.org/packages/mrlinnth/mm-regions-cities)[ RSS](/packages/mrlinnth-mm-regions-cities/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (4)Used By (0)

mm-regions-cities
=================

[](#mm-regions-cities)

API for Myanmar regions and cities data

Notes
-----

[](#notes)

Created for Laravel 6.0 and above. A very simple and basic package that provides APIs to get Regions and Cities from Myanmar country. I am sure anyone with basic Laravel and package knowledge will understand (or anyone with PHP experience).

After installation you can retrieve the data by REST APIs. By default, the data are retrieved from Json files. However you can change the setting in config and try to retrieve from database.

---

Installation
------------

[](#installation)

1. Run `composer require mrlinnth/mm-regions-cities`
2. Run `php artisan vendor:publish --tag=mmrc`
3. Done

**To retrieve data from database**

4. Run `php artisan migrate`
5. Import the two csv files found in your `storage/app/vendor/mmrc`
6. Update `config/mmrc.php` with `'use_json' => false`
7. Run `php artisan config:cache`

Usage
-----

[](#usage)

1. Access `{APP_URL}/api/mmrc` to get all data
2. Access `{APP_URL}/api/mmrc/regions` to get all regions
3. Access `{APP_URL}/api/mmrc/regions/{region_id}` to get specific region data
4. Access `{APP_URL}/api/mmrc/cities` to get all cities
5. Access `{APP_URL}/api/mmrc/cities/{city_id}` to get specific city data

[![](https://camo.githubusercontent.com/48a36842bd929f33edd70d7876cc8389486113ee1543185e5aef3b5c949f618a/68747470733a2f2f692e696d6775722e636f6d2f54674c454873462e706e67)](https://camo.githubusercontent.com/48a36842bd929f33edd70d7876cc8389486113ee1543185e5aef3b5c949f618a/68747470733a2f2f692e696d6775722e636f6d2f54674c454873462e706e67)

[![](https://camo.githubusercontent.com/c55c6a31469d56a89027998ce4c931ac0c70aba7e63c557d4dbca89edb8fd6d1/68747470733a2f2f692e696d6775722e636f6d2f7a5632453669312e706e67)](https://camo.githubusercontent.com/c55c6a31469d56a89027998ce4c931ac0c70aba7e63c557d4dbca89edb8fd6d1/68747470733a2f2f692e696d6775722e636f6d2f7a5632453669312e706e67)

[![](https://camo.githubusercontent.com/2d37587864481ce995d08dcc3b6cbc3fad7eeddafc8d08409c79c6501b5e2288/68747470733a2f2f692e696d6775722e636f6d2f57595a684d56432e706e67)](https://camo.githubusercontent.com/2d37587864481ce995d08dcc3b6cbc3fad7eeddafc8d08409c79c6501b5e2288/68747470733a2f2f692e696d6775722e636f6d2f57595a684d56432e706e67)

---

### To Do

[](#to-do)

-\[ \] vuejs dropdown component

-\[ \] CRUD for city

### Do not want a Laravel package

[](#do-not-want-a-laravel-package)

- there are csv files and json files in `publishable` folder. Download and use as you like.

### Do not want to use Laravel 6.0

[](#do-not-want-to-use-laravel-60)

- Fork and change the illuminate version in `composer.json` to your Laravel version.

### References

[](#references)

I have used the data from following links. I have added 4,5 missing cities but I am sure there are many more missing. So anyone is welcome to update the cities data.

- [https://en.wikipedia.org/wiki/List\_of\_cities\_and\_largest\_towns\_in\_Myanmar](https://en.wikipedia.org/wiki/List_of_cities_and_largest_towns_in_Myanmar)
- [https://en.wikipedia.org/wiki/Administrative\_divisions\_of\_Myanmar](https://en.wikipedia.org/wiki/Administrative_divisions_of_Myanmar)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~5 days

Total

2

Last Release

2265d ago

PHP version history (2 changes)0.1.0PHP ^7.0.0

0.1.1PHP &gt;=7.0.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4952597?v=4)[Yan](/maintainers/mrlinnth)[@mrlinnth](https://github.com/mrlinnth)

---

Top Contributors

[![mrlinnth](https://avatars.githubusercontent.com/u/4952597?v=4)](https://github.com/mrlinnth "mrlinnth (18 commits)")

---

Tags

laravelcitiesregionsMyanmar

### Embed Badge

![Health badge](/badges/mrlinnth-mm-regions-cities/health.svg)

```
[![Health](https://phpackages.com/badges/mrlinnth-mm-regions-cities/health.svg)](https://phpackages.com/packages/mrlinnth-mm-regions-cities)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[wearepixel/laravel-cart

A cart implementation for Laravel

1374.8k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

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