PHPackages                             bsh/laravel-hu-vat-validator - 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. bsh/laravel-hu-vat-validator

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

bsh/laravel-hu-vat-validator
============================

A Laravel package to validate Hungarian VAT numbers

v1.0.3(2mo ago)47MITPHPPHP ^8.3

Since Oct 10Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/bsh/laravel-hu-vat-validator)[ Packagist](https://packagist.org/packages/bsh/laravel-hu-vat-validator)[ Docs](https://github.com/bsh/laravel-hu-vat-validator)[ RSS](/packages/bsh-laravel-hu-vat-validator/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (24)Versions (5)Used By (0)

Laravel HU VAT Validator
========================

[](#laravel-hu-vat-validator)

 [Latest Version on Packagist](https://packagist.org/packages/bsh/laravel-hu-vat-validator) |

 **laravel-hu-vat-validator** is a package to validate Hungarian VAT numbers.

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

[](#installation)

You can install the package via composer:

```
composer require bsh/laravel-hu-vat-validator
```

The package will automatically register itself.

Publishing Language Files
-------------------------

[](#publishing-language-files)

After installing the package, you may want to publish the language files to customize the validation messages. Run the following command to publish the language files to your application's `resources/lang/vendor` directory:

```
php artisan vendor:publish --tag=laravel-hu-vat-validator-lang
```

Usage
-----

[](#usage)

```
```
use bsh\LaravelHuVatValidator\Facades\VatValidatorFacade as VatValidator;

```// Check VAT format
VatValidator::validate('12345678-1-23');
```

Validation
----------

[](#validation)

The package registers a new validation rule.

- `hu_vat_number`: The field under validation must be a valid Hungarian VAT number.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

---

Laravel magyar adószám ellenőrzés
=================================

[](#laravel-magyar-adószám-ellenőrzés)

 A **laravel-hu-vat-validator** egy Laravel csomag a magyar adószámok ellenőrzésére.

Telepítés
---------

[](#telepítés)

A csomag telepítése composer segítségével:

```
composer require bsh/laravel-hu-vat-validator
```

Nyelvi fájlok közzététele
-------------------------

[](#nyelvi-fájlok-közzététele)

A csomag telepítése után érdemes lehet közzétenni a nyelvi fájlokat, a magyar fordításhoz:

```
php artisan vendor:publish --tag=laravel-hu-vat-validator-lang
```

Használat
---------

[](#használat)

```
```
use bsh\LaravelHuVatValidator\Facades\VatValidatorFacade as VatValidator;

```// Adószám formátum ellenőrzése
VatValidator::validate('12345678-1-23');
```

Validator
---------

[](#validator)

A csomag egy új Validator szabályt regisztrál.

- `hu_vat_number`: Az mezőnek érvényes magyar adószámnak kell lennie.

Licenc
------

[](#licenc)

Az MIT Licenc (MIT). További információkért lásd a [Licenc fájlt](LICENSE.md).

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance85

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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 ~185 days

Total

4

Last Release

76d ago

PHP version history (2 changes)v1.0.0PHP ^8.2

v1.0.3PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/374377?v=4)[bsh](/maintainers/bsh)[@bsh](https://github.com/bsh)

---

Top Contributors

[![bsh](https://avatars.githubusercontent.com/u/374377?v=4)](https://github.com/bsh "bsh (11 commits)")

---

Tags

laravelvatvat-validatorlaravel-vat-validatorlaravel-validatorbshlaravel-hu-vat-validatorvat-hu-validator

###  Code Quality

TestsPHPUnit

Static AnalysisRector

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/bsh-laravel-hu-vat-validator/health.svg)

```
[![Health](https://phpackages.com/badges/bsh-laravel-hu-vat-validator/health.svg)](https://phpackages.com/packages/bsh-laravel-hu-vat-validator)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M307](/packages/laravel-horizon)[danielebarbaro/laravel-vat-eu-validator

A simple package that validates EU VAT numbers against the central ec.europa.eu database

41421.3k](/packages/danielebarbaro-laravel-vat-eu-validator)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[illuminate/database

The Illuminate Database package.

2.8k54.9M11.7k](/packages/illuminate-database)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M203](/packages/laravel-ai)

PHPackages © 2026

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