PHPackages                             limanweb/validation-rules-extensions - 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. [Database &amp; ORM](/categories/database)
4. /
5. limanweb/validation-rules-extensions

ActivePackage[Database &amp; ORM](/categories/database)

limanweb/validation-rules-extensions
====================================

Extensions for Laravel validation rules

1.5.1(6y ago)01.7kMITPHPPHP &gt;=7.2.0

Since Sep 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/limanweb/validation-rules-extensions)[ Packagist](https://packagist.org/packages/limanweb/validation-rules-extensions)[ RSS](/packages/limanweb-validation-rules-extensions/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)DependenciesVersions (12)Used By (0)

limanweb/validation-rules-extensions
====================================

[](#limanwebvalidation-rules-extensions)

Additional rules list
---------------------

[](#additional-rules-list)

Validation rules for international numbers and identifiers.

- **International identifiers**
    - bank\_card\_number,
    - isin

Validation rules for national person and company identifiers.

- **RUS** - Russian identifiers
    - rus\_inn,
    - rus\_person\_inn,
    - rus\_kpp,
    - rus\_ogrn,
    - rus\_ogrnip,
    - rus\_snils
- **BLR** - Belarus identifiers
    - blr\_unp,
    - blr\_person\_unp
- **KAZ** - Kazakhstan identifiers
    - kaz\_iin,
    - kaz\_bin

Installing and configuring
--------------------------

[](#installing-and-configuring)

### 1. Register provider

[](#1-register-provider)

Add provider class

```
Limanweb\ValidationRulesExt\Providers\ValidationRulesServiceProvider::class

```

into `providers` section of `config\app.php`.

### 2. Publish config and translations

[](#2-publish-config-and-translations)

Run command

```
php artisan vendor:publish

```

and input number of line with `Limanweb\ValidationRulesExt\Providers\ValidationRulesServiceProvider`

### 3. Configurate validation rule's packages

[](#3-configurate-validation-rules-packages)

Edit if you need `config/validation_rules_ext.php`.

By default all validation rule packages will by added. You can configure packages and rules that will be added into project.

For example:

```
return [
    'packages' => [
        // Only one rule of this package will be added into project
        \Limanweb\ValidationRulesExt\ValidationRules\RUS_IdentifierRules::class => [
            'rus_inn',
        ],
        // All rules of this package will be added into project
        \Limanweb\ValidationRulesExt\ValidationRules\BLR_IdentifierRules::class => null,
    ],
];

```

Using
-----

[](#using)

Use additional rules like as standard laravel validation rules.

```
validator([
	'iin' => '760720302830'
],
[
	'iin' => [
		'required',
		'kaz_iin'
	]
])->validate();

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% 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 ~5 days

Total

11

Last Release

2373d ago

Major Versions

0.1.0 → 1.0.02019-09-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/be8a9bfa93eb4d34ba70ea4bfd941a0d346b67f3030248cb4b443168084eb7a1?d=identicon)[limanweb](/maintainers/limanweb)

---

Top Contributors

[![limanweb](https://avatars.githubusercontent.com/u/17918827?v=4)](https://github.com/limanweb "limanweb (17 commits)")[![ocs-laravel](https://avatars.githubusercontent.com/u/72538616?v=4)](https://github.com/ocs-laravel "ocs-laravel (1 commits)")

---

Tags

laravelvalidationeloquent

### Embed Badge

![Health badge](/badges/limanweb-validation-rules-extensions/health.svg)

```
[![Health](https://phpackages.com/badges/limanweb-validation-rules-extensions/health.svg)](https://phpackages.com/packages/limanweb-validation-rules-extensions)
```

###  Alternatives

[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[henzeb/enumhancer

Your framework-agnostic Swiss Army knife for PHP 8.1+ native enums

69287.4k2](/packages/henzeb-enumhancer)[relaticle/custom-fields

User Defined Custom Fields for Laravel Filament

15828.6k](/packages/relaticle-custom-fields)[korridor/laravel-model-validation-rules

A laravel validation rule that uses eloquent to validate if a model exists

29188.9k](/packages/korridor-laravel-model-validation-rules)[mvanduijker/laravel-model-exists-rule

Validation rule to check if a model exists

22194.5k1](/packages/mvanduijker-laravel-model-exists-rule)[sjdaws/vocal

Recursive functionality for Eloquent in Laravel 4 and 5

4315.2k1](/packages/sjdaws-vocal)

PHPackages © 2026

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