PHPackages                             falkosik/polishnipvalidator - 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. falkosik/polishnipvalidator

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

falkosik/polishnipvalidator
===========================

Polish NIP Validator

017PHP

Since Dec 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/falkosik/polishnipvalidation)[ Packagist](https://packagist.org/packages/falkosik/polishnipvalidator)[ RSS](/packages/falkosik-polishnipvalidator/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

polishnipvalidation
===================

[](#polishnipvalidation)

Polish Tax Identification Number - NIP(Numer Identyfikacji Podatkowej) Validator for Laravel 5. You can install the package via composer:

```
composer require falkosik/polishnipvalidator

```

Setup
=====

[](#setup)

If you are using Laravel 5.5, the service provider will automatically be discovered.

On earlier versions, you need to do that manually. You must add the Service Provider to the providers array in config/app.php:

```
Falkosik\Polishnipvalidator\PolishNipValidatorRulesServiceProvider::class,

```

To translate messages you must create file:

```
validation.php

```

in your project

```
resources/lang/pl or /en

```

directory.

Usage
=====

[](#usage)

You have 1 new Validator rule:

- `nip` - Checks if number is valid NIP number

Code Authors
============

[](#code-authors)

A special thanks to authors of [phpedia.pl](http://phpedia.pl/wiki/Walidacja_numeru_NIP), an original NIP validator creators that this package is based on.

Packagist
=========

[](#packagist)

View this package on Packagist.org: [falkosik/polishnipvalidator](https://packagist.org/packages/falkosik/polishnipvalidator)

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/50322867?v=4)[Paweł Falkowski](/maintainers/falkosik)[@falkosik](https://github.com/falkosik)

---

Top Contributors

[![falkosik](https://avatars.githubusercontent.com/u/50322867?v=4)](https://github.com/falkosik "falkosik (10 commits)")

### Embed Badge

![Health badge](/badges/falkosik-polishnipvalidator/health.svg)

```
[![Health](https://phpackages.com/badges/falkosik-polishnipvalidator/health.svg)](https://phpackages.com/packages/falkosik-polishnipvalidator)
```

###  Alternatives

[toplan/laravel-sms

A mobile phone number validation solution based on laravel

83580.2k2](/packages/toplan-laravel-sms)[drupal/coder

Coder is a library to review Drupal code.

3046.8M629](/packages/drupal-coder)[hyperf/validation

hyperf validation

122.2M213](/packages/hyperf-validation)[udokmeci/yii2-phone-validator

Modern Yii2 Phone validator wrapper on top of PhoneNumberUtil library also used by Android devices

36227.5k1](/packages/udokmeci-yii2-phone-validator)[snowcap/vat-validation

EU VAT number validation

10112.3k](/packages/snowcap-vat-validation)

PHPackages © 2026

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