PHPackages                             atk14/company-number-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/company-number-field

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

atk14/company-number-field
==========================

CompanyNumberField is a form field for entering and validating company registration numbers in ATK14 applications

v0.1.4(11mo ago)022.1k↓42.6%MITPHPPHP &gt;=7.0.0

Since Feb 23Pushed 11mo ago2 watchersCompare

[ Source](https://github.com/atk14/CompanyNumberField)[ Packagist](https://packagist.org/packages/atk14/company-number-field)[ Docs](https://github.com/atk14/CompanyNumberField)[ RSS](/packages/atk14-company-number-field/feed)WikiDiscussions master Synced 3w ago

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

CompanyNumberField
==================

[](#companynumberfield)

CompanyNumberField is a field for entering company registration numbers ("IČ" or "IČO" in Czech) into forms in ATK14 applications.

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

[](#installation)

Just use the Composer:

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

```

Optionally you can symlink the CompanyNumberField file into your project:

```
ln -s ../../vendor/atk14/company-number-field/src/app/fields/company_number_field.php app/fields/company_number_field.php

```

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

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

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

In a form:

```
