PHPackages                             johnpancoast/data-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. johnpancoast/data-validator

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

johnpancoast/data-validator
===========================

A PHP lib providing a structure for validating data

0.4.1(10y ago)031mitPHPPHP ~5.4

Since Oct 21Pushed 10y ago1 watchersCompare

[ Source](https://github.com/johnpancoast/data-validator)[ Packagist](https://packagist.org/packages/johnpancoast/data-validator)[ RSS](/packages/johnpancoast-data-validator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (16)Used By (0)

data-validator
==============

[](#data-validator)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/25f4ecd5520c5fc1e43a02d5fa72193ac0e0d61c9e294ae4ce62b953a8a363b8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6f686e70616e636f6173742f646174612d76616c696461746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/johnpancoast/data-validator/?branch=master)

data-validator is a PHP lib providing you with a structure to validate your data using Symfony's validator.

Installation
------------

[](#installation)

data-validator uses [composer](https://getcomposer.org/).

To include it, either use [composer require](https://getcomposer.org/doc/03-cli.md#require)

```
composer require johnpancoast/data-validator:~0.4.0

```

... or require it in your project's composer file

```
{
    "require": {
        "johnpancoast/data-validator": "~0.4.0",
    }
}
```

Usage
-----

[](#usage)

*Docs to come*

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

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

Total

15

Last Release

3841d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/johnpancoast-data-validator/health.svg)

```
[![Health](https://phpackages.com/badges/johnpancoast-data-validator/health.svg)](https://phpackages.com/packages/johnpancoast-data-validator)
```

###  Alternatives

[api-platform/serializer

API Platform core Serializer

223.4M31](/packages/api-platform-serializer)[digitalrevolution/symfony-validation-shorthand

Validation shorthand for symfony

12108.5k2](/packages/digitalrevolution-symfony-validation-shorthand)[sfmok/request-input-bundle

Converts request data into DTO inputs objects with validation.

3512.8k](/packages/sfmok-request-input-bundle)

PHPackages © 2026

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