PHPackages                             beastbytes/postal-code-data - 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. beastbytes/postal-code-data

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

beastbytes/postal-code-data
===========================

Interface for retrieving postal code data

v1.0.0(2y ago)0181BSD-3-ClausePHPPHP ^8.0

Since Jul 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/beastbytes/postal-code-data)[ Packagist](https://packagist.org/packages/beastbytes/postal-code-data)[ RSS](/packages/beastbytes-postal-code-data/feed)WikiDiscussions master Synced 1mo ago

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

Postal Code Data (postal-code-data)
===================================

[](#postal-code-data-postal-code-data)

Interface for retrieving postal code data.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist beastbytes/postal-code-data

```

or add

```
"beastbytes/postal-code-data": "^1.0.0"
```

to the require section of your composer.json.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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

1050d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0b5133b5137b26eeb25056449c28364ac0af31836eefba78912a9c8f0743aa3?d=identicon)[BeastBytes](/maintainers/BeastBytes)

---

Top Contributors

[![beastbytes](https://avatars.githubusercontent.com/u/1470144?v=4)](https://github.com/beastbytes "beastbytes (12 commits)")

---

Tags

data-interfacepostal-codevalidationyii3postal-code

### Embed Badge

![Health badge](/badges/beastbytes-postal-code-data/health.svg)

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3853.3M1](/packages/axlon-laravel-postal-code-validation)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[barbieswimcrew/zip-code-validator

Constraint class for international zipcode validation

772.3M](/packages/barbieswimcrew-zip-code-validator)[sirprize/postal-code-validator

Validate Formatting Of World-Wide Postal Codes

791.9M1](/packages/sirprize-postal-code-validator)

PHPackages © 2026

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