PHPackages                             journalctl/national-id-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. journalctl/national-id-validator

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

journalctl/national-id-validator
================================

Iranian National id validator

v1.1(7y ago)05MITPHPPHP ^7.0

Since Feb 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/journalctl/national-id-validator)[ Packagist](https://packagist.org/packages/journalctl/national-id-validator)[ Docs](https://github.com/journalctl/national-id-validator)[ RSS](/packages/journalctl-national-id-validator/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

National Id Validator
=====================

[](#national-id-validator)

The Laravel National Id Validator for iranian users.

Install
-------

[](#install)

This package can be installed through Composer.

```
composer require journalctl/national-id-validator
```

Usage
-----

[](#usage)

```
return Validator::make(
    'national_id' => ['national_id']
)->validate();
```

Contributing
------------

[](#contributing)

Thank you for considering contributing to the National Id Validator!

License
-------

[](#license)

The National Id Validator is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

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

Total

2

Last Release

2634d ago

### Community

Maintainers

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

---

Top Contributors

[![yusefarianpour](https://avatars.githubusercontent.com/u/479012?v=4)](https://github.com/yusefarianpour "yusefarianpour (1 commits)")

---

Tags

laravelnational-idlaravelvalidatorlumennational idiranian

### Embed Badge

![Health badge](/badges/journalctl-national-id-validator/health.svg)

```
[![Health](https://phpackages.com/badges/journalctl-national-id-validator/health.svg)](https://phpackages.com/packages/journalctl-national-id-validator)
```

###  Alternatives

[proengsoft/laravel-jsvalidation

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

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[axlon/laravel-postal-code-validation

Worldwide postal code validation for Laravel and Lumen

3853.3M1](/packages/axlon-laravel-postal-code-validation)[sunspikes/clamav-validator

Custom Laravel 5 anti-virus validator for file uploads.

3651.8M3](/packages/sunspikes-clamav-validator)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

2412.2M5](/packages/laravel-validation-rules-credit-card)[illuminatech/validation-composite

Allows uniting several validation rules into a single one for easy re-usage

184485.5k](/packages/illuminatech-validation-composite)[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)
