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(5mo ago)0858↓50%MITPHPPHP ^7.1 || ^8.0

Since Jan 12Pushed 5mo 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 1mo 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

40

—

FairBetter than 88% of packages

Maintenance70

Regular maintenance activity

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

170d 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/schema

📐 Nette Schema: validating data structures against a given Schema.

1.0k336.4M125](/packages/nette-schema)[nette/forms

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

54013.2M450](/packages/nette-forms)[smartemailing/types

Lightweight collection of handy PHP value objects

9368.7k1](/packages/smartemailing-types)[uestla/recaptcha-control

reCAPTCHA control for Nette Framework forms

26572.0k1](/packages/uestla-recaptcha-control)[kiczort/polish-validator

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

11122.8k5](/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-12 support with both ValidationRule objects &amp; string-based rules.

2917.3k](/packages/iamfarhad-validation)

PHPackages © 2026

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