PHPackages                             wmde/fun-validators - 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. wmde/fun-validators

ActiveLibrary

wmde/fun-validators
===================

General and shared validation services created as part of the WMDE fundraising software

v5.1.0(1y ago)215.2kGPL-2.0-or-laterPHPPHP &gt;=8.4CI passing

Since Nov 3Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/wmde/fun-validators)[ Packagist](https://packagist.org/packages/wmde/fun-validators)[ RSS](/packages/wmde-fun-validators/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (16)Used By (0)

fun-validators
==============

[](#fun-validators)

[![Build Status](https://camo.githubusercontent.com/9becb822a4f3f4588bdd2a44bbdaf17540992a1dd1b82dab2a62356364c043d5/68747470733a2f2f7472617669732d63692e6f72672f776d64652f66756e2d76616c696461746f72732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wmde/fun-validators)[![Latest Stable Version](https://camo.githubusercontent.com/6c1e449bcfa3f6b45a13d91c48cf655d12441810a022268e01c89542f5b6e490/68747470733a2f2f706f7365722e707567782e6f72672f776d64652f66756e2d76616c696461746f72732f76657273696f6e2e706e67)](https://packagist.org/packages/wmde/fun-validators)[![Download count](https://camo.githubusercontent.com/aed2d6929e7a46081bfc6911415b657f164b9ca3d24c619e645717360a1107fd/68747470733a2f2f706f7365722e707567782e6f72672f776d64652f66756e2d76616c696461746f72732f642f746f74616c2e706e67)](https://packagist.org/packages/wmde/fun-validators)

General and shared validation services created as part of the WMDE fundraising software.

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

[](#installation)

To use the fun-validators library in your project, simply add a dependency on wmde/fun-validators to your project's `composer.json` file. Here is a minimal example of a `composer.json`file that just defines a dependency on fun-validators 1.x:

```
{
    "require": {
        "wmde/fun-validators": "~1.0"
    }
}
```

Development
-----------

[](#development)

For development you need to have Docker and compose Docker plugin installed. Local PHP and Composer are not needed.

### Installing dependencies

[](#installing-dependencies)

To install the project dependencies via Composer, run:

```
make install-php

```

To update the dependencies, run

```
make update-php

```

To update a specific dependency, you can run

```
make update-php COMPOSER_FLAGS=dependency-name

```

### Running the CI checks

[](#running-the-ci-checks)

To run all CI checks, which includes PHPUnit tests, PHPCS style checks and coverage tag validation, run:

```
make

```

### Running the tests

[](#running-the-tests)

To run just the PHPUnit tests run

```
make test

```

To run only a subset of PHPUnit tests or otherwise pass flags to PHPUnit, run

```
docker compose run --rm fun-validators ./vendor/bin/phpunit --filter SomeClassNameOrFilter

```

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance68

Regular maintenance activity

Popularity26

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~346 days

Total

12

Last Release

391d ago

Major Versions

1.2.0 → v2.0.02020-06-04

v2.0.0 → v3.0.02020-06-17

v3.0.0 → v4.0.02021-07-06

v4.2.0 → v5.0.02025-02-24

PHP version history (6 changes)1.0.0PHP &gt;=7.1

1.2.0PHP &gt;=7.2

v4.0.0PHP &gt;=8.0

v4.1.0PHP &gt;=8.1

v4.2.0PHP &gt;=8.3

v5.1.0PHP &gt;=8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/451bd4039d530fed8f9c3da91bfa519233a397d2182cdfdcad700f6cfea19b7f?d=identicon)[Jeroen De Dauw](/maintainers/Jeroen%20De%20Dauw)

![](https://www.gravatar.com/avatar/054adb441e7ee248ec924bc45fa793835c284710eb31627587fa5de21bab9e96?d=identicon)[wmde](/maintainers/wmde)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (122 commits)")[![moiikana](https://avatars.githubusercontent.com/u/11670701?v=4)](https://github.com/moiikana "moiikana (32 commits)")[![gbirke](https://avatars.githubusercontent.com/u/223326?v=4)](https://github.com/gbirke "gbirke (32 commits)")[![Abban](https://avatars.githubusercontent.com/u/663782?v=4)](https://github.com/Abban "Abban (17 commits)")[![Sperling-0](https://avatars.githubusercontent.com/u/30310702?v=4)](https://github.com/Sperling-0 "Sperling-0 (17 commits)")[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (15 commits)")[![timEulitz](https://avatars.githubusercontent.com/u/4571512?v=4)](https://github.com/timEulitz "timEulitz (8 commits)")[![wiese](https://avatars.githubusercontent.com/u/167557?v=4)](https://github.com/wiese "wiese (7 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wmde-fun-validators/health.svg)

```
[![Health](https://phpackages.com/badges/wmde-fun-validators/health.svg)](https://phpackages.com/packages/wmde-fun-validators)
```

PHPackages © 2026

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