PHPackages                             recca0120/twzipcode - 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. recca0120/twzipcode

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

recca0120/twzipcode
===================

twzipcode

v1.4.0(1y ago)13730.1k16MITPHPPHP &gt;=5.5.9

Since Jun 5Pushed 1y ago5 watchersCompare

[ Source](https://github.com/recca0120/twzipcode)[ Packagist](https://packagist.org/packages/recca0120/twzipcode)[ RSS](/packages/recca0120-twzipcode/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (5)Versions (21)Used By (0)

TWZIPCODE 3 + 2
===============

[](#twzipcode-3--2)

[![Total Downloads](https://camo.githubusercontent.com/fcecec562eea13c08a0732cd0927b329d12f7723b846f42c24b3b31b44b003a6/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f74777a6970636f64652f642f746f74616c2e737667)](https://packagist.org/packages/recca0120/twzipcode)[![Latest Stable Version](https://camo.githubusercontent.com/e0398499b254e4f5d8627c61dc8f1486686d71df88c4e5d02190b2a9f5f83a5a/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f74777a6970636f64652f762f737461626c652e737667)](https://packagist.org/packages/recca0120/twzipcode)[![Latest Unstable Version](https://camo.githubusercontent.com/f6ffcbec59263a3250d600533b976bc8308b72e4739a4be4c7370f672d516668/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f74777a6970636f64652f762f756e737461626c652e737667)](https://packagist.org/packages/recca0120/twzipcode)[![License](https://camo.githubusercontent.com/1458091707b10b8faa192399b5d53d358c030234ee46fd28007df3bb27664be5/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f74777a6970636f64652f6c6963656e73652e737667)](https://packagist.org/packages/recca0120/twzipcode)[![Monthly Downloads](https://camo.githubusercontent.com/7a5da7fda1950ad5199ffcd5f005be91bb4aed109f8b4ecb988b7d3efcc1928d/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f74777a6970636f64652f642f6d6f6e74686c79)](https://packagist.org/packages/recca0120/twzipcode)[![Daily Downloads](https://camo.githubusercontent.com/4202203b59282b3fb463a085d91aa2da5b3fc4b7e73189278680f2aa6c52c3a0/68747470733a2f2f706f7365722e707567782e6f72672f7265636361303132302f74777a6970636f64652f642f6461696c79)](https://packagist.org/packages/recca0120/twzipcode)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/aaa43aa50a87c3636cf803bc2f11e0c2721e273243dec74b94500d4d91294897/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7265636361303132302f74777a6970636f64652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/recca0120/twzipcode/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/44639ca3e78d69b3b9c4774b5972f3987c6df227dcf495563ad57f9e99bc4942/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7265636361303132302f74777a6970636f64652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/recca0120/twzipcode/?branch=master)

```
require __DIR__.'/vendor/autoload.php';

use Recca0120\Twzipcode\Zipcode;

$zipcode = Zipcode::parse('台北市中正區中華路１段25號');
echo $zipcode->zip3(); // 100
echo $zipcode->zip5(); // 10043;
echo $zipcode->county(); // 臺北市
echo $zipcode->district(); // 中正區
echo $zipcode->address(); // 臺北市中正區中華路1段25號
echo $zipcode->shortAddress(); //中華路1段25號
```

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance40

Moderate activity, may be stable

Popularity44

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 89.5% 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 ~171 days

Recently: every ~203 days

Total

19

Last Release

600d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1390554?v=4)[Recca Tsai](/maintainers/recca0120)[@recca0120](https://github.com/recca0120)

---

Top Contributors

[![recca0120](https://avatars.githubusercontent.com/u/1390554?v=4)](https://github.com/recca0120 "recca0120 (34 commits)")[![CasperLaiTW](https://avatars.githubusercontent.com/u/5094008?v=4)](https://github.com/CasperLaiTW "CasperLaiTW (3 commits)")[![alan199501](https://avatars.githubusercontent.com/u/97301528?v=4)](https://github.com/alan199501 "alan199501 (1 commits)")

---

Tags

phptaiwanzipzip3zip5zipcodetwzipcode

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/recca0120-twzipcode/health.svg)

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

###  Alternatives

[chrismcmacken/phptools

Small utilities that assist in developing applications

253.6k](/packages/chrismcmacken-phptools)

PHPackages © 2026

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