PHPackages                             cn/gb2260 - 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. cn/gb2260

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

cn/gb2260
=========

中华人民共和国国家标准 GB/T 2260 行政区划代码

v0.2(11y ago)7781816[1 issues](https://github.com/cn/GB2260.php/issues)WTFPLPHPPHP &gt;=5.4.0

Since Mar 13Pushed 9y ago16 watchersCompare

[ Source](https://github.com/cn/GB2260.php)[ Packagist](https://packagist.org/packages/cn/gb2260)[ RSS](/packages/cn-gb2260/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

GB/T 2260
=========

[](#gbt-2260)

[![Build Status](https://camo.githubusercontent.com/c29d83f47cde768d7f6ef0fd5fb2fc10751c0cc8544308ebee12fd551496a070/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636e2f4742323236302e7068702e7376673f7374796c653d666c61742d737175617265)](http://travis-ci.org/cn/GB2260.php)[![version](https://camo.githubusercontent.com/0aae4f0c0136eda920224ae258e85e67f010560f8ca20d4fa008e04d6aac3773/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636e2f6762323236302e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cn/gb2260)[![Download](https://camo.githubusercontent.com/b927e17fd0fb55b3755df6d1a568c7c9174bdead089d8c7b4a08ba413f78b609/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636e2f6762323236302e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cn/gb2260)[![codecov.io](https://camo.githubusercontent.com/a103ddfaea2c25c3b3936e2f934ff4ccb9cdd680f8869974f11ff49ac9a34699/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f636e2f4742323236302e7068702e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/cn/GB2260.php)

The latest GB/T 2260 codes. Updated at 2013, published at 2014.

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

[](#installation)

Add the following line to your `composer.json` file:

```
"cn/gb2260": "dev-master"

```

Then run `composer update` to get the package.

Usage
-----

[](#usage)

```
$gb2260 = new \GB2260\GB2260();

$gb2260->get(420822); // returns '湖北省 荆门市 沙洋县'
```

License
-------

[](#license)

This software is licensed under the [MIT License](LICENSE).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.6% 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

4081d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2515a1b7a6e85454fd15245886d030202007d1329757aa4bf0d0123f49789279?d=identicon)[shen2](/maintainers/shen2)

---

Top Contributors

[![gaomd](https://avatars.githubusercontent.com/u/113737?v=4)](https://github.com/gaomd "gaomd (10 commits)")[![shen2](https://avatars.githubusercontent.com/u/1523457?v=4)](https://github.com/shen2 "shen2 (6 commits)")[![lichunqiang](https://avatars.githubusercontent.com/u/2433916?v=4)](https://github.com/lichunqiang "lichunqiang (3 commits)")

### Embed Badge

![Health badge](/badges/cn-gb2260/health.svg)

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

###  Alternatives

[bestnetwork/telnet

Telnet client in php

2428.6k](/packages/bestnetwork-telnet)[bigecko/laravel-theme

Simple theme manager for Laravel 4.

336.9k](/packages/bigecko-laravel-theme)

PHPackages © 2026

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