PHPackages                             hubipe/company-identifiers - 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. hubipe/company-identifiers

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

hubipe/company-identifiers
==========================

Library aims to validate national identifiers formats and VAT numbers formats of companies and business individuals.

v1.0.5(8mo ago)0991↓33.3%MITPHPPHP ^7.1 || ^8.0

Since Jan 12Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/hubipe/company-identifiers)[ Packagist](https://packagist.org/packages/hubipe/company-identifiers)[ RSS](/packages/hubipe-company-identifiers/feed)WikiDiscussions master Synced 1w ago

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

Company identifiers library
===========================

[](#company-identifiers-library)

Library aims to validate national identifiers formats and VAT numbers formats of companies and business individuals. The library does not validate actual existence of company with given ID nor the VAT registration in the registers. It purely validates the formats.

The library contains methods to validate format of these business identifiers plus for all the countries also the VAT number format:

countrybusiness identifier namebusiness identifier formatcheck numberAustriaFirmenbuchnummerFN 123456a✔️Bulgaria?123456789✔️CroatiaOIB12345678901✔️Czech RepublicIČO12345678 or 7501011234✔️GermanyHandelsregisternummerHRA/HRB/GNR/PR/VR 123456A❌GreeceGEMI (Γ.Ε.Μ.Η.)123456789012❌HungaryAdoszám12345678-1-11✔️PolandREGON123456789 or 12345678901234✔️SlovakiaIČO12345678✔️SloveniaMatična številka1234567 or 1234567000⚠️- ✔️ check number implemented
- ❌ the identifier does not contain the check number
- ⚠️ identifier contain check number, the algorithm is not known by library
- ❓ identifier check number presence is unknown

The check number is not available in all formats or it has not been implemented yet. If you know the algorithm for the check number calculation and the library does not contain the check validation, feel free to create issue or PR.

Also if you know any other country or company ID/business individuals identifier formats/check digits algorithms, create an issue with link to relevant source or create a pull request.

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

[](#installation)

```
composer require hubipe/company-identifiers

```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance59

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~210 days

Recently: every ~262 days

Total

6

Last Release

262d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/14144958f1893ddd81dafbd4df8583e38792ccc089462e3cb14b80eeba32cef3?d=identicon)[hubipe](/maintainers/hubipe)

---

Top Contributors

[![hubipe](https://avatars.githubusercontent.com/u/617880?v=4)](https://github.com/hubipe "hubipe (14 commits)")

---

Tags

VAT IDregoncompany-idoibcompanies idfirmenbuchnummerHandelsregisternummerAdoszámMatična številka

### Embed Badge

![Health badge](/badges/hubipe-company-identifiers/health.svg)

```
[![Health](https://phpackages.com/badges/hubipe-company-identifiers/health.svg)](https://phpackages.com/packages/hubipe-company-identifiers)
```

###  Alternatives

[nette/forms

📝 Nette Forms: generating, validating and processing secure forms in PHP. Handy API, fully customizable, server &amp; client side validation and mature design.

53013.8M538](/packages/nette-forms)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136411.0k14](/packages/rector-rector-src)[kiczort/polish-validator

Validators for Polish identification numbers: PESEL, NIP, REGON.

11137.6k5](/packages/kiczort-polish-validator)[iamfarhad/validation

🇮🇷 Complete Laravel Persian validation package - Iranian national ID, mobile numbers, Shamsi dates, IBAN/Sheba, postal codes &amp; more. Modern Laravel 10-13 support with both ValidationRule objects &amp; string-based rules.

3017.4k](/packages/iamfarhad-validation)[pacerit/laravel-polish-validation-rules

Simple Polish Validation rules for Laravel and Lumen framework

1454.7k](/packages/pacerit-laravel-polish-validation-rules)[kiczort/polish-validator-bundle

Symfony bundle with validators for Polish identification numbers: PESEL, NIP, REGON, PWZ.

1224.3k](/packages/kiczort-polish-validator-bundle)

PHPackages © 2026

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