PHPackages                             jim-moser/zf2-validators-empty-or-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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. jim-moser/zf2-validators-empty-or-test

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

jim-moser/zf2-validators-empty-or-test
======================================

Unit testing for jim-moser/zf2-validators-empty-or package.

2.0.2(5y ago)023BSD-3-Clause

Since Aug 12Compare

[ Source](https://github.com/jim-moser/zf2-validators-empty-or-test)[ Packagist](https://packagist.org/packages/jim-moser/zf2-validators-empty-or-test)[ Docs](https://github.com/jim-moser/zf2-validators-empty-or-test)[ RSS](/packages/jim-moser-zf2-validators-empty-or-test/feed)WikiDiscussions Synced yesterday

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

\#Overview

This package contains the unit tests for the jim-moser/zf2-validators-empty-or package. The unit tests were separated from the zf2-validators-empty-or package to make it easier for the package user to select whether they want to install the unit tests or not. This also makes it easier to uninstall only the tests at a later time if desired.

This package depends on the zf2-validators-empty-or package so adding this package to the "require" field of a composer.json file will instruct Composer to install both this package and the zf2-validators-empty-or package.

Related packages:

- [jim-moser/zf2-validators-empty-or](https://github.com/jim-moser/zf2-validators-empty-or/)
- [jim-moser/zf2-validators-empty-or-test](https://github.com/jim-moser/zf2-validators-empty-or-test/)
- [jim-moser/zf2-validators-empty-or-plugin](https://github.com/jim-moser/zf2-validators-empty-or-plugin/)
- [jim-moser/zf2-validators-empty-or-plugin-test](https://github.com/jim-moser/zf2-validators-empty-or-plugin-test/)

A brief description of the related packages listed above can be found in the README.md file for the [jim-moser/zf2-validators-empty-or](https://github.com/jim-moser/zf2-validators-empty-or/)package.

\#Installation

\##Alternative 1: Installation with Composer

1. For an existing Laminas Framework installation, move into the parent of the vendor directory. This directory should contain an existing composer.json file. For a new installation, move into the directory you would like to contain the vendor directory.

    ```
     $ cd

    ```
2. Run the following command which will update the composer.json file, install the zf2-validators-empty-or-plugin-test package and its dependencies into their respective directories under the vendor directory, and update the composer autoloading files.

    ```
     $ composer require jim-moser/zf2-validators-empty-or-test

    ```

\##Alternative 2: Manual Installation to Vendor Directory

If you would like to install the packages manually and use a Module.php file to configure autoloading instead of using Composer to configure autoloading then use the [jim-moser/zf2-validators-empty-or-plugin-test](https://github.com/jim-moser/zf2-validators-empty-or-plugin-test/)package instead of this package. Follow the instructions in the README.md file of that package.

\#Unit Testing

After installation unit testing can be run immediately from the vendor/jim-moser/zf2-validators-empty-or-test directory as follows:

```
$ cd /jim-moser/zf2-validators-empty-or-test
$ ../../phpunit/phpunit/phpunit

```

The second command above calls phpunit from the phpunit package installed under the vendor directory instead of any phpunit executable which may be installed system wide. This is done to ensure the version of PHPUnit executed is one that meets the version requirements specified in the composer.json file.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~353 days

Total

8

Last Release

2161d ago

Major Versions

0.0.2 → 1.0.02016-09-14

1.0.2 → 2.0.02020-07-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ee86b6f4c33c6b1154cbad7dad4aacd6f517c1b1cec7de1447afc6d90781ce6?d=identicon)[TheDisposer](/maintainers/TheDisposer)

---

Tags

validatorvalidationzf2

### Embed Badge

![Health badge](/badges/jim-moser-zf2-validators-empty-or-test/health.svg)

```
[![Health](https://phpackages.com/badges/jim-moser-zf2-validators-empty-or-test/health.svg)](https://phpackages.com/packages/jim-moser-zf2-validators-empty-or-test)
```

###  Alternatives

[respect/validation

The most awesome validation engine ever created for PHP

6.0k39.0M408](/packages/respect-validation)[opis/json-schema

Json Schema Validator for PHP

65243.6M269](/packages/opis-json-schema)[vlucas/valitron

Simple, elegant, stand-alone validation library with NO dependencies

1.7k4.6M137](/packages/vlucas-valitron)[laminas/laminas-validator

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

15848.2M214](/packages/laminas-laminas-validator)[intervention/validation

Additional validation rules for the Laravel framework

6827.2M18](/packages/intervention-validation)[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.4M50](/packages/proengsoft-laravel-jsvalidation)

PHPackages © 2026

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