PHPackages                             roseshayan/form-guard - 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. roseshayan/form-guard

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

roseshayan/form-guard
=====================

A lightweight, framework-agnostic PHP validation library with first-class Iranian form validation rules.

v1.0.2(yesterday)15↓100%MITPHP &gt;=8.2

Since Aug 20Compare

[ Source](https://github.com/roseshayan/form-guard)[ Packagist](https://packagist.org/packages/roseshayan/form-guard)[ Docs](https://github.com/roseshayan/form-guard)[ RSS](/packages/roseshayan-form-guard/feed)WikiDiscussions Synced today

READMEChangelogDependencies (3)Versions (8)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/roseshayan/form-guard).

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance100

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

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

3

Last Release

1d ago

PHP version history (2 changes)v1.0.0PHP &gt;=8.1

v1.0.1PHP &gt;=8.2

### Community

Maintainers

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

---

Tags

phpvalidatorvalidationformnational codeiranpersianIBANinput-validationiraniansheba

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/roseshayan-form-guard/health.svg)

```
[![Health](https://phpackages.com/badges/roseshayan-form-guard/health.svg)](https://phpackages.com/packages/roseshayan-form-guard)
```

###  Alternatives

[iamfarhad/validation

🇮🇷 Complete Laravel Persian validation package - Iranian national ID, mobile numbers, Shamsi dates, IBAN/Sheba, postal codes &amp; more. Modern Laravel 10-13 support with both ValidationRule objects &amp; string-based rules.

3017.4k](/packages/iamfarhad-validation)[intervention/validation

Additional validation rules for the Laravel framework

6827.6M22](/packages/intervention-validation)

PHPackages © 2026

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