PHPackages                             prinsfrank/validation-attributes - 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. prinsfrank/validation-attributes

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

prinsfrank/validation-attributes
================================

Validation attributes

v0.0.4(1y ago)0282[1 issues](https://github.com/PrinsFrank/validation-attributes/issues)MITPHPPHP ^8.2CI passing

Since Aug 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/PrinsFrank/validation-attributes)[ Packagist](https://packagist.org/packages/prinsfrank/validation-attributes)[ GitHub Sponsors](https://github.com/PrinsFrank)[ RSS](/packages/prinsfrank-validation-attributes/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (8)Used By (0)

  ![Banner](https://github.com/PrinsFrank/validation-attributes/raw/main/docs/images/banner_light.png)Validation Attributes
=====================

[](#validation-attributes)

[![GitHub](https://camo.githubusercontent.com/b0c4cef3923a417c69abfd7e512725d60b2b261f6f9229e94d971a85738c5fe9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7072696e736672616e6b2f76616c69646174696f6e2d61747472696275746573)](https://github.com/PrinsFrank/validation-attributes/blob/main/LICENSE)[![PHP Version Support](https://camo.githubusercontent.com/654b1f222f152aa7ec2d39fe76b6b3cc6e40ce5491c09e188d1e158428fbbb0f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7072696e736672616e6b2f76616c69646174696f6e2d61747472696275746573)](https://github.com/PrinsFrank/validation-attributes/blob/main/composer.json)[![Packagist Downloads](https://camo.githubusercontent.com/7af89c27c93cb80f383f24c8b7c7fd69dd888ca40f633a3ec1ada3c016d5d86a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7072696e736672616e6b2f76616c69646174696f6e2d61747472696275746573)](https://packagist.org/packages/prinsfrank/validation-attributes/stats)[![codecov](https://camo.githubusercontent.com/c6da8e77afd15800e89e9b14477721177ed277cb5bc1667967fd13a60d082d72/68747470733a2f2f636f6465636f762e696f2f67682f5072696e734672616e6b2f76616c69646174696f6e2d617474726962757465732f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d5930334e494657455a4c)](https://codecov.io/gh/PrinsFrank/validation-attributes)[![PHPStan Level](https://camo.githubusercontent.com/83dd3d35cebed0eab9ee97ff1a5849c1344cda6a8ee9cac2cda20f5aa55b67bd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230392d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/PrinsFrank/validation-attributes/blob/main/phpstan.neon)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance46

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.2% 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 ~70 days

Total

4

Last Release

416d ago

PHP version history (2 changes)v0.0.1PHP ~8.3

v0.0.3PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/288919c24dc651727390578a2bfe6ef020f6f508c30db717b54c943a9e2ac0b3?d=identicon)[PrinsFrank](/maintainers/PrinsFrank)

---

Top Contributors

[![PrinsFrank](https://avatars.githubusercontent.com/u/25006490?v=4)](https://github.com/PrinsFrank "PrinsFrank (25 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/prinsfrank-validation-attributes/health.svg)

```
[![Health](https://phpackages.com/badges/prinsfrank-validation-attributes/health.svg)](https://phpackages.com/packages/prinsfrank-validation-attributes)
```

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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