PHPackages                             atk14/zip-field - 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. atk14/zip-field

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

atk14/zip-field
===============

ZipField is a form field for entering and validating postal codes in ATK14 applications

v0.2.9(1y ago)124.2k↓40%1MITPHPPHP &gt;=5.6.0

Since Nov 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/atk14/ZipField)[ Packagist](https://packagist.org/packages/atk14/zip-field)[ Docs](https://github.com/atk14/ZipField)[ RSS](/packages/atk14-zip-field/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (13)Used By (0)

ZipField
========

[](#zipfield)

ZipField is a field for entering postal codes into forms in ATK14 applications.

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

[](#installation)

Just use the Composer:

```
cd path/to/your/atk14/project/
composer require atk14/zip-field

```

Optionally you can symlink the ZipField file into your project:

```
ln -s ../../vendor/atk14/zip-field/src/app/fields/zip_field.php app/fields/zip_field.php

```

Usage in an ATK14 application
-----------------------------

[](#usage-in-an-atk14-application)

ZipField has method is\_valid\_for() for re-validation in context of the selected country.

In a form:

```
