PHPackages                             moccalotto/valit - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. moccalotto/valit

ActiveLibrary[Testing &amp; Quality](/categories/testing)

moccalotto/valit
================

Validate http requests, input-data and method arguments at runtime using self-documenting code

2.1.1(7y ago)09.3kMITPHP &gt;=5.5.9|&gt;=7.0.8

Since Aug 9Compare

[ Source](https://github.com/moccalotto/valit)[ Packagist](https://packagist.org/packages/moccalotto/valit)[ Docs](https://moccalotto.github.io/docs/valit)[ RSS](/packages/moccalotto-valit/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (4)Versions (30)Used By (0)

### README not available

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity69

Established project with proven stability

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

Recently: every ~37 days

Total

28

Last Release

2692d ago

Major Versions

0.8.1 → 1.0.02018-01-05

1.0.2 → 2.0.0-alpha2018-07-29

PHP version history (2 changes)0.5.0PHP &gt;=5.5.0

1.0.0PHP &gt;=5.5.9|&gt;=7.0.8

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b9e3b7782ac8a1123f9fe4e44b316cf1508196995bee19f7bc0d77a63a56abb?d=identicon)[moccalotto](/maintainers/moccalotto)

---

Tags

testvalidationassertinputverificationexpectguardensure

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/moccalotto-valit/health.svg)

```
[![Health](https://phpackages.com/badges/moccalotto-valit/health.svg)](https://phpackages.com/packages/moccalotto-valit)
```

###  Alternatives

[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M571](/packages/beberlei-assert)[peridot-php/leo

Next level assertion and matcher library for PHP

36366.4k50](/packages/peridot-php-leo)[elliotchance/concise

Concise is test framework for using plain English and minimal code, built on PHPUnit.

45223.8k4](/packages/elliotchance-concise)[nilportugues/assert

A simple and elegant assertion and guard methods library for input validation.

1066.0k7](/packages/nilportugues-assert)

PHPackages © 2026

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