PHPackages                             puleeno/diagioihanhchinh - 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. puleeno/diagioihanhchinh

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

puleeno/diagioihanhchinh
========================

Địa giới hành chính của Việt Nam

26[3 issues](https://github.com/puleeno/diagioihanhchinh/issues)PHP

Since Jan 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/puleeno/diagioihanhchinh)[ Packagist](https://packagist.org/packages/puleeno/diagioihanhchinh)[ RSS](/packages/puleeno-diagioihanhchinh/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Địa giới hành chính Việt Nam
============================

[](#địa-giới-hành-chính-việt-nam)

Chức năng chính:
================

[](#chức-năng-chính)

- Cập nhật data tự động từ "Tổng cục thống kê - Đơn vị hành chính Việt Nam":
- Hỗ trợ convert tự động sang các format khác: JSON
- Import geodata từ
- Tự động lấy geodata từ website
- Lấy dữ liệu từ
- Tương thích với plugin WooCommerce - thương mại điện tử
- Tương thích với plugin WordLand - bất động sản

Tài liệu tham khảo
==================

[](#tài-liệu-tham-khảo)

- Subdivisions of Vietnam: [https://en.wikipedia.org/wiki/Subdivisions\_of\_Vietnam](https://en.wikipedia.org/wiki/Subdivisions_of_Vietnam)

Làm thế nào để tương thích plugin địa giới hành chính vào plugins của bạn.
==========================================================================

[](#làm-thế-nào-để-tương-thích-plugin-địa-giới-hành-chính-vào-plugins-của-bạn)

Các plugin tương thích:
-----------------------

[](#các-plugin-tương-thích)

Mặc định plugin diagioihanhchinh đã tương thích với các plugin sau

1. WordLand: Tạo và quản lý Bất động sản
2. Đang cập nhật

Ngoài ra bạn cũng có thể viết code tương thích cho plugin của mình như tài liệu bên dưới

Custom plugin địa giới hành chính làm việc với plugin của bạn.
--------------------------------------------------------------

[](#custom-plugin-địa-giới-hành-chính-làm-việc-với-plugin-của-bạn)

```
Diagioihanhchinh::register_location_taxonomy($tax_name, $level = 1);

```

Với các tham số như sau:
------------------------

[](#với-các-tham-số-như-sau)

$tax\_name: Là taxonomy dùng làm địa danh $level: Là cấp độ của địa danh hỗ trợ từ 1 đến 3 như sau

- 1: Cấp tỉnh - thành phố
- 2: cấp quận - huyện
- 3: cấp phường - xã

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a609a3b3a36dee9f36ef6f8d3b2b2dc91eebefc7644031e829e65bca4329799?d=identicon)[puleeno](/maintainers/puleeno)

---

Top Contributors

[![puleeno](https://avatars.githubusercontent.com/u/22538657?v=4)](https://github.com/puleeno "puleeno (79 commits)")

### Embed Badge

![Health badge](/badges/puleeno-diagioihanhchinh/health.svg)

```
[![Health](https://phpackages.com/badges/puleeno-diagioihanhchinh/health.svg)](https://phpackages.com/packages/puleeno-diagioihanhchinh)
```

###  Alternatives

[markrogoyski/math-php

Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra

2.4k7.6M54](/packages/markrogoyski-math-php)[zerodahero/laravel-workflow

Integerate Symfony Workflow component into Laravel.

204890.5k8](/packages/zerodahero-laravel-workflow)[leantony/laravel-grid

A grid view for laravel, inspired by the yii2 grid widget

9361.7k](/packages/leantony-laravel-grid)

PHPackages © 2026

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