PHPackages                             whatwedo/validator-test - 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. whatwedo/validator-test

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

whatwedo/validator-test
=======================

A fluid Validation tester

v0.3(1mo ago)110.8k↑25%MITPHPPHP &gt;=8.1

Since Nov 3Pushed 1mo ago10 watchersCompare

[ Source](https://github.com/whatwedo/validator-test)[ Packagist](https://packagist.org/packages/whatwedo/validator-test)[ RSS](/packages/whatwedo-validator-test/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependencies (12)Versions (5)Used By (0)

ValidatorTest
=============

[](#validatortest)

Fluid Validator Tester, inspired by zenstruck/browser.

Usage
-----

[](#usage)

```
class AppUserValidatorTest extends KernelTestCase
{
    use ValidationTestTrait;

    public function testAppUserRegisterGroup(): void
    {
        $appUser = new AppUser();

        $this->getValidator()

            ->setGroups(['register'])

            ->validate($appUser)
            ->assertCount(4)

            ->assertNotNullTrue('firstname')
            ->validate($appUser->setFirstname('mauri'))
            ->assertNotNullFalse('firstname')

            ->assertCountViolation(4, NotNull::IS_NULL_ERROR);

            ->assertHasViolation(NotNull::IS_NULL_ERROR)
            ->assertHasNoViolation(NotBlank::IS_BLANK_ERROR)

            ->validate($appUser->setEmail('mauri')
            ->assertViolationTrue(Email::INVALID_FORMAT_ERROR, 'email')
            ->validate($appUser->setEmail('mauri@whatwedo.ch'))
            ->assertViolationFalse(Email::INVALID_FORMAT_ERROR, 'email')

           ;
    }
```

### use

[](#use)

```
        $this->getValidator()
            ->setGroups(['register'])
            ->validate($appUser)
            ->use(function (ConstraintViolationListInterface $constraintViolationList) {
                /*..*/
            })
        ;
```

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance90

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.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 ~822 days

Total

3

Last Release

48d ago

PHP version history (2 changes)0.1.0PHP &gt;=7.4

v0.2.0PHP &gt;=8.1

### Community

Maintainers

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

---

Top Contributors

[![rugbymauri](https://avatars.githubusercontent.com/u/5549264?v=4)](https://github.com/rugbymauri "rugbymauri (7 commits)")[![tuxes3](https://avatars.githubusercontent.com/u/5341293?v=4)](https://github.com/tuxes3 "tuxes3 (1 commits)")

### Embed Badge

![Health badge](/badges/whatwedo-validator-test/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M712](/packages/sylius-sylius)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M462](/packages/pimcore-pimcore)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k16.8k](/packages/prestashop-prestashop)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

51090.8k2](/packages/web-auth-webauthn-framework)

PHPackages © 2026

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