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.2(1y ago)47MITPHPPHP ^8.2

Since Oct 10Pushed 1y 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 1mo ago

READMEChangelog (3)Dependencies (12)Versions (4)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

29

—

LowBetter than 60% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

3

Last Release

559d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/27e4660e69346b9c3b3c0804fd0ffd5796f0e39a7628bd040d215fbc69f4ad51?d=identicon)[bsh](/maintainers/bsh)

---

Top Contributors

[![bsh](https://avatars.githubusercontent.com/u/374377?v=4)](https://github.com/bsh "bsh (10 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

[danielebarbaro/laravel-vat-eu-validator

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

37369.4k](/packages/danielebarbaro-laravel-vat-eu-validator)[propaganistas/laravel-phone

Adds phone number functionality to Laravel based on Google's libphonenumber API.

3.0k35.7M107](/packages/propaganistas-laravel-phone)[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3853.3M1](/packages/axlon-laravel-postal-code-validation)[laravel-validation-rules/phone

Validate that a phone number is in the correct format

69355.5k](/packages/laravel-validation-rules-phone)

PHPackages © 2026

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