PHPackages                             spiral/filters - 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. spiral/filters

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

spiral/filters
==============

Deep Structural Validation, Data Mapper, Inheritance

3.16.1(2mo ago)313.4k—0%15MITPHPPHP &gt;=8.1CI failing

Since Sep 17Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/spiral/filters)[ Packagist](https://packagist.org/packages/spiral/filters)[ Docs](https://spiral.dev)[ GitHub Sponsors](https://github.com/sponsors/spiral)[ RSS](/packages/spiral-filters/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (99)Used By (5)

Deep Structural Validation, Data Mapper, Inheritance
====================================================

[](#deep-structural-validation-data-mapper-inheritance)

[![PHP Version Require](https://camo.githubusercontent.com/2e132df4defe70e89dfe3c72300e00494ebc7c76f4a93a3d053f79fe244d0712/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f66696c746572732f726571756972652f706870)](https://packagist.org/packages/spiral/filters)[![Latest Stable Version](https://camo.githubusercontent.com/a436898962aea30650a3c6554eda33258215a0922227b496c86e0c47d4420aaa/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f66696c746572732f762f737461626c65)](https://packagist.org/packages/spiral/filters)[![phpunit](https://github.com/spiral/filters/actions/workflows/phpunit.yml/badge.svg)](https://github.com/spiral/filters/actions)[![psalm](https://github.com/spiral/filters/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral/filters/actions)[![Codecov](https://camo.githubusercontent.com/592d7f22f912c4f7092277716be477c028adad0a6d555fd9b79c486777dd664c/68747470733a2f2f636f6465636f762e696f2f67682f73706972616c2f66696c746572732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spiral/filters/)[![Total Downloads](https://camo.githubusercontent.com/77be06185deecb83fabd4df946c6a0ea2034ced6ed9ed294b6c306563714e9ec/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f66696c746572732f646f776e6c6f616473)](https://packagist.org/packages/spiral/filters)[![type-coverage](https://camo.githubusercontent.com/643e6c5a8f88d3ebdde358b4b7477aa96f0e9abf4a976c2d90549f2abca9d7b5/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f66696c746572732f636f7665726167652e737667)](https://shepherd.dev/github/spiral/filters)[![psalm-level](https://camo.githubusercontent.com/9a33d7851e6b1bc364592a96601732d0ceab0029174f8a647a584e7aaca73804/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f66696c746572732f6c6576656c2e737667)](https://shepherd.dev/github/spiral/filters)[![](https://camo.githubusercontent.com/4442b73a11753b80fdd7b442ddbfaf8383902c8b9ffa66ed1718e8c62e102f2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d6d6167656e74612e737667)](https://discord.gg/8bZsjYhVVk)

**[Documentation](https://spiral.dev/docs/filters-filter)** | [Framework Bundle](https://github.com/spiral/framework)

License:
--------

[](#license)

MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information. Maintained by [Spiral Scout](https://spiralscout.com).

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance85

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 82.5% 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 ~29 days

Recently: every ~82 days

Total

94

Last Release

76d ago

Major Versions

v1.3.4 → v2.6.02020-09-02

2.14.1 → 3.0.02022-09-13

PHP version history (5 changes)v1.0.0PHP ^7.1

v1.3.0PHP ^7.2

2.7.0PHP &gt;=7.2

2.10.0PHP &gt;=7.4

3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/796136?v=4)[Anton Tsitou](/maintainers/wolfy-j)[@wolfy-j](https://github.com/wolfy-j)

---

Top Contributors

[![spiralbot](https://avatars.githubusercontent.com/u/100867204?v=4)](https://github.com/spiralbot "spiralbot (132 commits)")[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (19 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (5 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (3 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (1 commits)")

---

Tags

data-mapperfiltersnested-validationphp7validation

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/spiral-filters/health.svg)

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

###  Alternatives

[aporat/store-receipt-validator

PHP receipt validator for Apple App Store and Amazon Appstore

6503.9M9](/packages/aporat-store-receipt-validator)[laminas/laminas-validator

Validation classes for a wide range of domains, and the ability to chain validators to create complex validation criteria

15544.9M188](/packages/laminas-laminas-validator)

PHPackages © 2026

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