PHPackages                             quangtam/vietnam-address-database - 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. quangtam/vietnam-address-database

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

quangtam/vietnam-address-database
=================================

Raw JSON database for Vietnamese administrative addresses according to Resolution 202/2025/QH15

v1.0.0(11mo ago)3631[1 issues](https://github.com/quangtam/vietnam-address-database/issues)1MITPHPPHP &gt;=7.4

Since Jul 15Pushed 11mo agoCompare

[ Source](https://github.com/quangtam/vietnam-address-database)[ Packagist](https://packagist.org/packages/quangtam/vietnam-address-database)[ Docs](https://github.com/quangtam/vietnam-address-database)[ RSS](/packages/quangtam-vietnam-address-database/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

Vietnam Address Database
========================

[](#vietnam-address-database)

Raw JSON database for Vietnamese administrative addresses according to Resolution 202/2025/QH15.

This repository provides the same database for both **JavaScript/TypeScript** and **PHP** platforms.

Version 1.0.0 - First Release
-----------------------------

[](#version-100---first-release)

✓ **34 Tỉnh/Thành phố** (Provinces/Cities)
✓ **3,321 Phường/Xã** (Wards/Communes)
✓ **10,977 quy tắc mapping** (Mapping rules)

### Data Sources

[](#data-sources)

This database integrates data from two major administrative updates:

- **Resolution 202/2025/QH15** (effective from July 1, 2025)
- **Resolution NQ-UBTVQH15** (effective from January 1, 2025)

Quick Start
-----------

[](#quick-start)

### JavaScript/TypeScript

[](#javascripttypescript)

```
npm install vietnam-address-database
```

```
const addressData = require('vietnam-address-database');
console.log(addressData[0].version); // "1.1"
```

### PHP

[](#php)

```
composer require quangtam/vietnam-address-database
```

```
use VietnamAddressDatabase\VietnamAddressDatabase;
$provinces = VietnamAddressDatabase::getProvinces();
```

Database Statistics
-------------------

[](#database-statistics)

- **34 Tỉnh/Thành phố** (Provinces/Cities)
- **3,321 Phường/Xã** (Wards/Communes)
- **10,977 quy tắc mapping** (ánh xạ mã cũ sang mới)

### Administrative Updates Integration

[](#administrative-updates-integration)

This database reflects the latest Vietnamese administrative changes from:

- **Resolution 202/2025/QH15** (effective July 1, 2025)
- **Resolution NQ-UBTVQH15** (effective January 1, 2025)

Platform-Specific Documentation
-------------------------------

[](#platform-specific-documentation)

- **[JavaScript/TypeScript Documentation](README-JS.md)**
- **[PHP Documentation](README-PHP.md)**

Publishing
----------

[](#publishing)

See **[PUBLISHING.md](PUBLISHING.md)** for detailed publishing instructions for both platforms.

Data Source
-----------

[](#data-source)

This database is based on **Resolution 202/2025/QH15** and contains the most up-to-date Vietnamese administrative addresses.

### Primary Sources

[](#primary-sources)

- **Data Repository**: [DVHCVN Database](https://github.com/thanhtrungit97/dvhcvn)
- **Legal Documents**: [Administrative Reorganization Resolutions 2023-2025](https://thuvienphapluat.vn/chinh-sach-phap-luat-moi/vn/ho-tro-phap-luat/chinh-sach-moi/72841/tong-hop-nghi-quyet-sap-xep-don-vi-hanh-chinh-cua-63-tinh-thanh-giai-doan-2023-2025)

### Legal Framework

[](#legal-framework)

The database integrates administrative changes from:

- **Resolution 202/2025/QH15** (effective July 1, 2025)
- **Resolution NQ-UBTVQH15** (effective January 1, 2025)
- **Comprehensive administrative reorganization resolutions for 63 provinces/cities (2023-2025)**

License
-------

[](#license)

MIT

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

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance44

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

353d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a101ea900abe8470ad7a7450bcd2d873956a42b9f1f6b0aefdff185e35bc702?d=identicon)[quangtam](/maintainers/quangtam)

---

Top Contributors

[![quangtam](https://avatars.githubusercontent.com/u/6047178?v=4)](https://github.com/quangtam "quangtam (5 commits)")

---

Tags

jsonaddressdatadatabasevietnameseprovincesdistrictsadministrativevietnamwards

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/quangtam-vietnam-address-database/health.svg)

```
[![Health](https://phpackages.com/badges/quangtam-vietnam-address-database/health.svg)](https://phpackages.com/packages/quangtam-vietnam-address-database)
```

###  Alternatives

[eighty8/laravel-seeder

Versioned, environment-based Seeders in Laravel

1858.8k](/packages/eighty8-laravel-seeder)[smrtr/mysql-version-control

A crude version control system for mysql written in php

221.4k](/packages/smrtr-mysql-version-control)

PHPackages © 2026

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