PHPackages                             kminek/numbers - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kminek/numbers

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kminek/numbers
==============

PHP value-objects for various identification numbers used in Poland (PESEL, REGON, NIP, NRB, etc.)

12.0kPHP

Since Apr 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/kminek/numbers)[ Packagist](https://packagist.org/packages/kminek/numbers)[ RSS](/packages/kminek-numbers/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Numbers
=======

[](#numbers)

PHP value-objects for various identification numbers used in Poland:

- PESEL (national identification number)
- REGON (taxpayer identification number)
- NIP (VAT identification number)
- NRB (national bank account number)

Usage
-----

[](#usage)

```
use Kminek\Numbers\PESEL;

$pesel = PESEL::create('00261503191'); // will throw exception for incorrect PESEL

$pesel->getGender(); // 'male'
$pesel->getSerialNumber(); // '0319'
$pesel->getDate(); // DateTime object
$pesel->getChecksum(); // 1
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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://www.gravatar.com/avatar/a7c918f54bb848b1ab6ac0f623e0aba72e565865aa15b77b4e7eeba354e38256?d=identicon)[kminek](/maintainers/kminek)

---

Top Contributors

[![kminek](https://avatars.githubusercontent.com/u/373962?v=4)](https://github.com/kminek "kminek (7 commits)")

### Embed Badge

![Health badge](/badges/kminek-numbers/health.svg)

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

PHPackages © 2026

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