PHPackages                             kreyu/nip-validator-bundle - 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. kreyu/nip-validator-bundle

ActiveSymfony-bundle[Validation &amp; Sanitization](/categories/validation)

kreyu/nip-validator-bundle
==========================

Validate the NIP/TIN numbers with configurable validation constraint

v2.1.0(3y ago)4252.2k↓19.2%3MITPHPPHP &gt;=8.1

Since Jul 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Kreyu/nip-validator-bundle)[ Packagist](https://packagist.org/packages/kreyu/nip-validator-bundle)[ RSS](/packages/kreyu-nip-validator-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (3)Versions (9)Used By (0)

NIP/TIN Validator Bundle
========================

[](#niptin-validator-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/b3c5b4890a9b50816dd8f1977b183e8b787d7d046e3fa3c3025eb998e25c0f8a/68747470733a2f2f706f7365722e707567782e6f72672f6b726579752f6e69702d76616c696461746f722d62756e646c652f76657273696f6e)](https://packagist.org/packages/kreyu/nip-validator-bundle)[![Build Status](https://camo.githubusercontent.com/60499ae323e26038ecad8db07b67970c53c2e00551de01b0e5344ee48fc3fe05/68747470733a2f2f7472617669732d63692e6f72672f4b726579752f6e69702d76616c696461746f722d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Kreyu/nip-validator-bundle)

Validate the tax identification numbers with configurable validation constraint.

Requirements
------------

[](#requirements)

- Symfony validator &gt;=6.1
- PHP &gt;=8.1

For PHP 7.0 &amp; Symfony 3.4, look at v1.x version.

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

[](#installation)

To download the bundle, require it using the Composer:

```
$ composer require kreyu/nip-validator-bundle

```

Usage
-----

[](#usage)

Like with all Symfony validation constraints, you can apply it by using annotations:

```

```

or by using PHP:

```
