PHPackages                             marcin-orlowski/polish-ids - 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. marcin-orlowski/polish-ids

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

marcin-orlowski/polish-ids
==========================

Validators for various IDs used in Poland.

1.0.0(1mo ago)121MITPHP &gt;=8.1

Since Jul 6Compare

[ Source](https://github.com/MarcinOrlowski/php-polish-ids)[ Packagist](https://packagist.org/packages/marcin-orlowski/polish-ids)[ RSS](/packages/marcin-orlowski-polish-ids/feed)WikiDiscussions Synced 1w ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

```
 █▀▀▄      ▀█   ▀       █        ▀█▀ █▀▀▄
 █  █ ▄▀▀▄  █  ▀█  ▄▀▀▄ █▀▀▄      █  █  █ ▄▀▀▄
 █▀▀  █  █  █   █   ▀▄  █  █      █  █  █  ▀▄
 █    ▀▄▄▀ ▄█▄ ▄█▄ ▀▄▄▀ █  █     ▄█▄ █▄▄▀ ▀▄▄▀

```

Polish IDs validators
=====================

[](#polish-ids-validators)

Validators for various IDs used in Poland as NIP, PESEL, REGON, and others so you can validate your users inputs easier. For FakerPHP's generators, see `marcin-orlowski/polish-ids-faker` package.

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

[](#installation)

```
composer require --dev marcin-orlowski/polish-ids-faker
```

DescStatic methodsChecks if given NIP number is valid`assertNipIsValid()`, `isNipIsValid()`Checls NIP formatting`assertNipIsFormatted()`, `isNipIsFormatted()`Validates NIP checksum`assertNipChecksumIsValid()`, `isNipChecksumIsValid()`License
-------

[](#license)

- Written and copyright ©2026 Marcin Orlowski
- Licensed under the MIT License.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance90

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

49d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8041294?v=4)[Marcin Orlowski](/maintainers/MarcinOrlowski)[@MarcinOrlowski](https://github.com/MarcinOrlowski)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/marcin-orlowski-polish-ids/health.svg)

```
[![Health](https://phpackages.com/badges/marcin-orlowski-polish-ids/health.svg)](https://phpackages.com/packages/marcin-orlowski-polish-ids)
```

###  Alternatives

[toplan/laravel-sms

A mobile phone number validation solution based on laravel

83580.2k2](/packages/toplan-laravel-sms)[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)
