PHPackages                             setono/postal-code-regular-expressions - 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. setono/postal-code-regular-expressions

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

setono/postal-code-regular-expressions
======================================

List of regular expressions for postal codes to use in your validation of postal codes

v1.1.0(2y ago)02.9kMITPHPPHP &gt;=7.4

Since Jun 19Pushed 2y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Postal code / zip code library with regular expressions to match them
=====================================================================

[](#postal-code--zip-code-library-with-regular-expressions-to-match-them)

[![Latest Version](https://camo.githubusercontent.com/dd1ceb5add1c85c743c628c42f4b3a8c691a98f912c3d6673642af2563f2e381/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f706f7374616c2d636f64652d726567756c61722d65787072657373696f6e732f762f737461626c65)](https://packagist.org/packages/setono/postal-code-regular-expressions)[![Software License](https://camo.githubusercontent.com/7bc7db223aa556985691d8046b347c069b9dbfb211a7a0cc7e5007901cb71653/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f706f7374616c2d636f64652d726567756c61722d65787072657373696f6e732f6c6963656e7365)](LICENSE)[![Build Status](https://github.com/Setono/postal-code-regular-expressions/workflows/build/badge.svg)](https://github.com/Setono/postal-code-regular-expressions/actions)[![Code Coverage](https://camo.githubusercontent.com/d89f0d3c30198c5e34819aa9aedab8adfabb0a708a153b2b9eb57e0e13a2fd9a/68747470733a2f2f636f6465636f762e696f2f67682f5365746f6e6f2f706f7374616c2d636f64652d726567756c61722d65787072657373696f6e732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Setono/postal-code-regular-expressions)

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

[](#installation)

The easiest way to install this library is by installing the library along with its HTTP client dependencies:

```
composer require setono/postal-code-regular-expressions
```

Usage
-----

[](#usage)

```
