PHPackages                             jberall/yii2-postal-code-validator - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. jberall/yii2-postal-code-validator

ActiveYii2-extension[Validation &amp; Sanitization](/categories/validation)

jberall/yii2-postal-code-validator
==================================

Using Server side validation based on https://github.com/sirprize/postal-code-validator

2642PHP

Since Jun 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/jberall/yii2-postal-code-validator)[ Packagist](https://packagist.org/packages/jberall/yii2-postal-code-validator)[ RSS](/packages/jberall-yii2-postal-code-validator/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Postal Code/Zip Code Validator
==============================

[](#postal-codezip-code-validator)

Using Server side validation based on

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist jberall/yii2-postal-code-validator "*"

```

or add

```
"jberall/yii2-postal-code-validator": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
```
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/b0e2e29d7fb708493437055490cbf0e58179b34a3a8f4a2760e7c50f618a0f7b?d=identicon)[jberall](/maintainers/jberall)

### Embed Badge

![Health badge](/badges/jberall-yii2-postal-code-validator/health.svg)

```
[![Health](https://phpackages.com/badges/jberall-yii2-postal-code-validator/health.svg)](https://phpackages.com/packages/jberall-yii2-postal-code-validator)
```

###  Alternatives

[chaoswey/taiwan-id-validator

台灣身分證、統一編號驗證

319.9k](/packages/chaoswey-taiwan-id-validator)

PHPackages © 2026

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