PHPackages                             mbretter/stk-validation - 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. mbretter/stk-validation

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

mbretter/stk-validation
=======================

Stk Schema Validation of nested data structures

2.2.0(1y ago)02.5kBSD-3-ClausePHPPHP ^8.0

Since Aug 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mbretter/stk-validation)[ Packagist](https://packagist.org/packages/mbretter/stk-validation)[ Docs](https://www.bretterklieber.com)[ RSS](/packages/mbretter-stk-validation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (11)Used By (0)

validation data objects for php
===============================

[](#validation-data-objects-for-php)

[![License](https://camo.githubusercontent.com/2b599ab1ace97388d4375b87919f92781a1a61d016fe640a5c4d15fc365deed1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d626c75652e737667)](https://opensource.org/licenses/BSD-3-Clause)[![PHP 8](https://camo.githubusercontent.com/1fb120b28c01242c7b808a19d88391780a96ce77b0e348ab4e8b51cbb585c394/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382d79656c6c6f772e737667)](http://www.php.net)[![CI](https://github.com/mbretter/stk-validation/actions/workflows/ci.yml/badge.svg)](https://github.com/mbretter/stk-validation/actions/workflows/ci.yml/badge.svg)[![codecov](https://camo.githubusercontent.com/ed8d1a26028e5680a9488f1b127e530210cdb7747db977fd85f242c289a58082/68747470733a2f2f636f6465636f762e696f2f6769746875622f6d627265747465722f73746b2d76616c69646174696f6e2f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d52316879514857723155)](https://codecov.io/github/mbretter/stk-validation)[![Latest Stable Version](https://camo.githubusercontent.com/d49561817884e77391e88a8913192e68d7c8a21d541f19ccd0a1177afb64e70a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d627265747465722f73746b2d76616c69646174696f6e2e737667)](https://packagist.org/packages/mbretter/stk-validation)[![Total Downloads](https://camo.githubusercontent.com/10d8f2df69f0c7fe1cfd8e28d06eeba81af2b5af8e1b0aa19499904530fa4160/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d627265747465722f73746b2d76616c69646174696f6e2e737667)](https://packagist.org/packages/mbretter/stk-validation)

Validation of immutable data objects using validations schemes.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Recently: every ~353 days

Total

10

Last Release

562d ago

Major Versions

0.6.0 → 1.0.02021-03-09

1.0.0 → 2.0.02022-08-09

PHP version history (3 changes)0.1.0PHP ^7.4

1.0.0PHP ^7.4|^8.0

2.0.0PHP ^8.0

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

validationstk

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mbretter-stk-validation/health.svg)

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

###  Alternatives

[awurth/slim-validation

A wrapper around the respect/validation PHP validation library for easier error handling and display

65378.4k9](/packages/awurth-slim-validation)[progsmile/request-validator

Simple PHP Request Validator

33113.3k1](/packages/progsmile-request-validator)[resultsystems/validation

Inspired 'KennedyTedesco Validation' - The power of 'Respect Validation' on Laravel.

2832.4k4](/packages/resultsystems-validation)

PHPackages © 2026

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